nextjs怎么用pm2启动?

nextjs项目启动服务端渲染是执行next start,这个怎么用pm2启动?

阅读 6.2k
2 个回答
新手上路,请多包涵

pm2 start?

pm2 start ./node_modules/.bin/next start