Use next.js in pm2
ON THIS PAGE
pm2 start npm --name "next" -- run dev
# for production
npm run build
pm2 start npm --name "next" -- start
# special a port
pm2 start npm --name "next" -- start -- -p 8000
2019-10-02
上一篇:macOS的配置和使用
下一篇:pip 切换国内源
pm2 start npm --name "next" -- run dev
# for production
npm run build
pm2 start npm --name "next" -- start
# special a port
pm2 start npm --name "next" -- start -- -p 8000