Skip to content

pm2启动nuxt项目

  • pm2 start npm --name '项目名' -- run start
  • 添加到 package.json
json
// package.json
"scripts": {
     ...
    "pm2": "pm2 start npm --name '项目名' -- run start"
     ...
}

Released under the MIT License.