Go to file
Pan b7ca786751 perf[chore]:set travis notifications:false 2017-12-11 14:20:23 +08:00
build doc:update readme 2017-11-29 10:33:39 +08:00
config fix build_config bug 2017-09-29 16:31:44 +08:00
gifs add tabs gif 2017-06-28 16:00:56 +08:00
src fix(dndList): fixed the name same as router 2017-12-08 18:09:15 +08:00
static/tinymce refine 2017-08-28 13:18:35 +08:00
.babelrc refactor:refine webpack.prod.conf.js 2017-11-09 18:17:08 +08:00
.editorconfig add editorconfig 2017-07-24 17:58:46 +08:00
.eslintignore init 2017-04-18 15:09:13 +08:00
.eslintrc.js lint:format code style 2017-10-31 16:04:30 +08:00
.gitignore perf:ignore package-lock.json 2017-11-23 16:32:02 +08:00
.postcssrc.js Fix:fix autoprefixer explanation 2017-10-08 11:19:20 +08:00
.travis.yml perf[chore]:set travis notifications:false 2017-12-11 14:20:23 +08:00
LICENSE ADD LICENSE 2017-05-12 13:47:15 +08:00
README-en.md [release] 2.2.0 2017-09-27 10:43:53 +08:00
README.md Update README.md 2017-12-11 14:06:14 +08:00
favicon.ico perf:change favicon 2017-11-23 10:35:54 +08:00
index.html perf:format code&&fix typo 2017-11-22 11:01:19 +08:00
package.json add[chore]:add travis 2017-12-11 13:59:49 +08:00

README.md

vue-element-admin

vue element-ui Build Status license GitHub release

A magical vue admin.

本项目的定位是后台集成方案,不适合当基础模板来开发。

注意该项目目前使用element-ui@2.0.5版本,所以最低兼容 Vue 2.5.0

楼主这里有一份调查问卷 有空请填写一下,以表对本项目的支持~ps:不是给这个调查问卷网站做广告,所以填完问卷不用点上面抽奖有的没的那些东西

前序准备

你的本地环境需要安装 nodegit。我们的技术栈基于 ES2015+vuevuexvue-routerelement-ui,提前了解和学习这些知识会对使用本项目有很大的帮助。

同时配套一个系列的教程文章,如何从零构建后一个完整的后台项目,建议大家先看完这些文章再来实践本项目

相应需求开了一个qq群 591724180 方便大家交流

或者可以加入该 圈子 讨论问题

如有问题请先看上述使用文档和文章,若不能满足,欢迎 issue 和 pr

本项目并不是一个脚手架,更倾向于是一个集成解决方案

该项目不支持低版本游览器(如ie)有需求请自行添加polyfill 详情

功能

  • 登录/注销
  • 权限验证
  • 多环境发布
  • 动态侧边栏(支持多级路由)
  • 动态面包屑
  • 国际化多语言
  • 多种动态换肤
  • 快捷导航(标签页)
  • 富文本编辑器
  • Markdown编辑器
  • JSON编辑器
  • Screenfull全屏
  • 列表拖拽
  • Svg Sprite 图标
  • Dashboard
  • 本地mock数据
  • Echarts 图表
  • Clipboard(剪贴复制)
  • 401/404错误页面
  • 错误日志
  • 导出excel
  • 导出zip
  • 前端可视化excel
  • Table example
  • 动态table example
  • 拖拽table example
  • 内联编辑table example
  • Form example
  • 二步登录
  • SplitPane
  • Dropzone
  • Sticky
  • CountTo
  • Markdown2html

开发

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

    # 安装依赖
    npm install
    
    //or # 建议不要用cnpm  安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
    npm install --registry=https://registry.npm.taobao.org

    # 本地开发 开启服务
    npm run dev

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

发布

    # 发布测试环境 带webpack ananalyzer
    npm run build:sit-preview

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

更多信息请参考 使用文档

目录结构

├── build                      // 构建相关  
├── config                     // 配置相关
├── src                        // 源代码
│   ├── api                    // 所有请求
│   ├── assets                 // 主题 字体等静态资源
│   ├── components             // 全局公用组件
│   ├── directive              // 全局指令
│   ├── filtres                // 全局 filter
│   ├── icons                  // 项目所有 svg icons
│   ├── lang                   // 国际化 language
│   ├── mock                   // 项目mock 模拟数据
│   ├── router                 // 路由
│   ├── store                  // 全局 store管理
│   ├── styles                 // 全局样式
│   ├── utils                  // 全局公用方法
│   ├── vendor                 // 公用vendor
│   ├── views                   // view
│   ├── App.vue                // 入口页面
│   ├── main.js                // 入口 加载组件 初始化等
│   └── permission.js          // 权限管理
├── static                     // 第三方不打包资源
│   └── Tinymce                // 富文本
├── .babelrc                   // babel-loader 配置
├── eslintrc.js                // eslint 配置项
├── .gitignore                 // git 忽略项
├── favicon.ico                // favicon图标
├── index.html                 // html模板
└── package.json               // package.json

Changelog

Detailed changes for each release are documented in the release notes.

查看更多demo

Donate

If you find this project useful, you can buy me a cup of coffee donate

License

MIT