|
8 달 전 | |
---|---|---|
build | 9 달 전 | |
mock | 9 달 전 | |
public | 8 달 전 | |
src | 8 달 전 | |
.editorconfig | 9 달 전 | |
.env.development | 9 달 전 | |
.env.production | 9 달 전 | |
.env.staging | 9 달 전 | |
.eslintignore | 9 달 전 | |
.eslintrc.js | 9 달 전 | |
.gitignore | 9 달 전 | |
.travis.yml | 9 달 전 | |
LICENSE | 9 달 전 | |
README-zh.md | 9 달 전 | |
README.md | 9 달 전 | |
babel.config.js | 9 달 전 | |
jest.config.js | 9 달 전 | |
output.js | 9 달 전 | |
package.json | 9 달 전 | |
postcss.config.js | 9 달 전 | |
vue.config.js | 9 달 전 |
这是一个Rock-Star系统体系的基础平台后台管理。它包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
目前版本为 v4.0+
基于 vue-cli
进行构建
整个项目是基于panjiachen的vue-element-admin为基础进行构建的 使用文档
如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用该分支permission-control
# 克隆项目
git clone http://47.96.128.196:3000/pengyq/rock-web-base.git
# 进入项目目录
cd rock-web-base
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 启动服务
npm run dev
浏览器访问 http://localhost:9525
# 构建测试环境
npm run build:stage
# 构建生产环境
npm run build:prod
# 本地运行代码
npm run dev
# 预览发布环境效果
npm run preview
# 预览发布环境效果 + 静态资源分析
npm run preview -- --report
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
更多信息请参考 使用文档
Modern browsers and Internet Explorer 10+.
IE / Edge | Firefox | Chrome | Safari |
---|---|---|---|
IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions |
PanJiaChen MIT license.
Copyright (c) 2020-present Rock-Idea