npm install # or yarn install*[see note below]
Make sure to use a version of vue-cli >= 2.1 (vue -V).
*Note: Due to a bug in yarn's engine version detection code if you are using a prerelease version of Node (i.e. v7.6.0-rc.1) you will need to either:
- Use
npm install
- Run
yarn
with a standard release of Node and then switch back
Command | Description |
---|---|
npm start | Start ThinkJs server in development. |
Use pm2 to deploy app on production enviroment.
pm2 startOrReload pm2.json