We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb07a22 commit a09d0cbCopy full SHA for a09d0cb
README.md
@@ -127,7 +127,7 @@ $ cnpm i -g pm2
127
```
128
#### 启动
129
```Shell
130
-$ pm2 start pm2.config.js
+$ npm start
131
132
133
## 最后
package.json
@@ -10,7 +10,7 @@
10
"scripts": {
11
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
12
"build": "nuxt build",
13
- "start": "NODE_ENV=production node server/index.js",
+ "start": "pm2 start pm2.config.js --env production",
14
"generate": "nuxt generate"
15
},
16
"dependencies": {
0 commit comments