Nav apraksta

duanxiaoduan 08b036c863 Merge branch 'hotfix/index-bug' of duanxiaoduan/tmr-group-admin into release/v1.0.2 10 mēneši atpakaļ
build 4cfd935636 first commit 1 gadu atpakaļ
doc 2a5dcc52de project: 增加文档 1 gadu atpakaļ
mock 4cfd935636 first commit 1 gadu atpakaļ
public 8f727b16df docker: env url 1 gadu atpakaļ
src 884a00300b 首页查看排名初始数据置空 10 mēneši atpakaļ
tests 4cfd935636 first commit 1 gadu atpakaļ
.drone.yml 7b55046657 drone: requested access to the resource is denied 1 gadu atpakaļ
.editorconfig 4cfd935636 first commit 1 gadu atpakaļ
.env.development c9615a3eb8 更新 1 gadu atpakaļ
.env.production cbe7890a53 dockerfile: 配置vue从环境变量来动态获取URL 1 gadu atpakaļ
.env.staging 4cfd935636 first commit 1 gadu atpakaļ
.eslintignore 4cfd935636 first commit 1 gadu atpakaļ
.eslintrc.js 4cfd935636 first commit 1 gadu atpakaļ
.gitignore 4cfd935636 first commit 1 gadu atpakaļ
.travis.yml 4cfd935636 first commit 1 gadu atpakaļ
2020-02-19.txp 4cfd935636 first commit 1 gadu atpakaļ
Dockerfile e3a9ad2d6a dockerFile: edit 1 1 gadu atpakaļ
LICENSE 4cfd935636 first commit 1 gadu atpakaļ
README-zh.md 1eb54c2bbc docker: cicd 1 gadu atpakaļ
README.md 4cfd935636 first commit 1 gadu atpakaļ
babel.config.js c21e167bdc 正式线不显示控制台打印 1 gadu atpakaļ
debug.log 4cfd935636 first commit 1 gadu atpakaļ
default.conf.template 332cbebd0a dockerFile:edit 1 gadu atpakaļ
jest.config.js 4cfd935636 first commit 1 gadu atpakaļ
package.json c1e5fcf781 更改了请求方法 1 gadu atpakaļ
postcss.config.js 4cfd935636 first commit 1 gadu atpakaļ
sh.exe.stackdump 4cfd935636 first commit 1 gadu atpakaļ
vue.config.js 4cfd935636 first commit 1 gadu atpakaļ

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