# install dependencies
npm install
A Vue.js project
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
A Node.js (express) support
# serve with hot reload at localhost:3000
npm run server
# main route at localhost:3000
# test express route at localhost:3000/whoami
For detailed explanation on how things work, consult the docs for vue-loader, webpack-hot-middleware, Vue.js Server-Side Rendering Guide