lxq.link
postscategoriestoolsabout

Use next.js in pm2

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