基于vue-element-admin的前后端分离开发模块
jeeweb-vue-admin 是一个基于vue-element-admin的,并且需要配合jeeweb的前后端分离模块一起开发模块。
开发
# 克隆项目 git clone https://gitee.com/dataact/jeeweb-vue-admin.git # 安装依赖 npm install # 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org # 启动服务 npm run dev
浏览器访问 http://localhost:9527
发布
# 构建测试环境 npm run build:sit # 构建生产环境 npm run build:prod
其它
# --report to build with bundle size analytics npm run build:prod # --generate a bundle size analytics. default: bundle-report.html npm run build:prod --generate_report # --preview to start a server in local to preview npm run build:prod --preview # lint code npm run lint # auto fix npm run lint -- --fix
详细文档可以参考(vue-element-admin): vue-element-admin 是一个后台集成解决方案,它基于 [vue]
UI




资源
- 项目地址:https://gitee.com/dataact/jeeweb-vue-admin
- 后端地址:https://gitee.com/dataact/jeeweb/
- vue-element-admin:http://panjiachen.github.io/vue-element-admin
本文系作者 @迦娜王 原创发布在 松鼠乐园。未经许可,禁止转载。