在hello.ejs 檔中輸入簡單的程式碼進行測試,例如: <h1>hello</h1>. 接著調整index.js 程式碼,告訴express 去render views 目錄底下叫做hello 的檔案:.
確定! 回上一頁