Serve static with PM2
Command (2.4.0+):
$ pm2 serve <path> <port>
For example:
$ pm2 serve /dist 80
By default, it displays 404.html
from the serving directory when that happens (NOT configurable).
文章来源:
Author:wxsm's blog
link:https://blog.wxsm.space/p/serve-static-with-pm2
下一篇:JSX in Vue.js