pm2 启动nuxt

1,734 阅读1分钟

# 使用pm2启动nuxt服务
pm2 start npm --name nuxt -- start
# 保存并设置随系统启动
pm2 save
pm2 startup