存取css, images, js或是其他static files可以使用Express.js內建的middleware: express.static 。 假設我們的static file都放在 assets 目錄下:
確定! 回上一頁