新增 .env. PORT=8002. 2.之後啟動後會自動執行在8002 PORT. 3.如果要讓Node.js 檔案也可以讀.env檔案可以使用以下模組. yarn add dotenv.
確定! 回上一頁