Sen descrición

duanxiaoduan 48cf6dcf44 运行轨迹 hai 6 meses
.svn db21e3f86d Signed-off-by: 段小段 <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
build 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
mock 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
public 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
src 48cf6dcf44 运行轨迹 hai 6 meses
tests 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
.drone.yml b69e323f0a drone: edit hai 11 meses
.editorconfig 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
.env.development 2976741c02 配方模板新增停机时间 hai 6 meses
.env.production 26e4a48ed2 打包 hai 1 ano
.env.staging 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
.eslintignore 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
.eslintrc.js 1a560112a9 1 %!s(int64=2) %!d(string=hai) anos
.gitignore 6a23370236 修改了配置文件 hai 1 ano
.travis.yml 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
2020-02-19.txp 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
Dockerfile 0db73df164 nginx: gzip on hai 11 meses
LICENSE 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
README-zh.md 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
README.md 1bb49d00b2 更新 hai 1 ano
babel.config.js 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
cls b00d41f808 新增了容积状态显示 hai 1 ano
debug.log 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
default.conf.template 0db73df164 nginx: gzip on hai 11 meses
jest.config.js 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
package.json 34db4deda8 推料计划新增运行轨迹 hai 9 meses
postcss.config.js 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos
sh.exe.stackdump bd67c4c311 更新了一些报错提示 %!s(int64=2) %!d(string=hai) anos
vue.config.js 317a3e639c Signed-off-by: duanxiaoduan <1729609802@qq.com> %!s(int64=2) %!d(string=hai) anos

README-zh.md

vue-admin-template

这是一个极简的 vue admin 管理后台。它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。

线上地址

国内访问

目前版本为 v4.0+ 基于 vue-cli 进行构建,若你想使用旧版本,可以切换分支到tag/3.11.0,它不依赖 vue-cli

Extra

如果你想要根据用户角色来动态生成侧边栏和 router,你可以使用该分支permission-control

相关项目

vue-element-admin

electron-vue-admin

vue-typescript-admin-template

写了一个系列的教程配套文章,如何从零构建后一个完整的后台项目:

Build Setup

# 克隆项目
git clone https://github.com/PanJiaChen/vue-admin-template.git

# 进入项目目录
cd vue-admin-template

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:9528

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix

更多信息请参考 使用文档

Demo

demo

Browsers support

Modern browsers and Internet Explorer 10+.

IE / EdgeFirefoxChrome
IE / Edge
Firefox
Chrome
SafariSafari IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT license.

Copyright (c) 2017-present PanJiaChen