之後使用時因為要render所以要找views目錄,但又要找ejs.js, 所以折衷的方法為,將ejs.js放入views資料夾,然後. 1. app.use(express.static('views'));. Copied!
確定! 回上一頁