使用vue-cli构建,基于vue2,webpack,后端基于node提供静态资源文件,和socketio服务。
# install dependencies
npm install
# sockot.io server run at localhost:3000
npm run socket
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.