Vue.js 搭建后台管理系统, Vue.js 和第三方依赖结合应用.
template 配置(vue-cli)
? Project name vuejs-cms-template
? Project description A Vue.js CMS template
? Author [email protected]
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? No
plugin
- vue-router
- axios
- TODO: vuex
cd template
# 安装依赖
npm install
# 启动本地服务 localhost:8080
npm run dev
# 编译发布 (dist)
npm run build
# 编译发布并查看分析报告
npm run build --report