基于webpack+Vue2.0搭建webapp(体验篇)
2017-01-06 本文已影响830人
Transy
webApp介绍
基于webpack+Vue2.0搭建webapp,结合野狗实现实时云通信,并自动构建在DaoCloud上!
接口采用swagger-node部署,见webapp-node。
开源地址:https://github.com/zhouzhihu/webapp
# 安装依赖
$ npm install
# 构建DLL库
$ npm run dll
# 开发模式,带热重载,监听地址http://localhost:8080
$ npm run dev
# 构建生产环境,DLL库构建、SPA、按需加载
$ npm run build
webApp目录结构

webApp截图


