修改package.json ,將“main” 欄位改為進入點檔案的位置,並修改“script” ,設定nodemon 的進入點檔案。 // package.json { ... "main": "src/server.ts" ...
確定! 回上一頁