/blog.36kr.com

博氪计划

Primary LanguageJavaScript

blog.36kr.com

博氪计划

Build Setup

npm install

npm start

npm run build

npm test

client

blokr

Build Setup

# serve with hot reload at localhost:8080
npm run client

# build for production with minification
npm run buildclient

# build for production and view the bundle analyzer report
npm run buildclient --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

server

Application created by ThinkJS

Start server

npm run server

Deploy with pm2

Use pm2 to deploy app on production enviroment.

pm2 startOrReload pm2.json