pm2-web-panel 配置ENV # copy env file cp env.txt .env # set port and username, password APP_HOST=0.0.0.0 APP_PORT=3099 ADMIN_USERNAME=admin ADMIN_PASSWORD=admin 构建设置 # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launch server $ npm run build $ npm run start # generate static project $ npm run generate 有关工作原理的详细说明,请查看 。