PanJiaChen /vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

★ 90,095⑂ 30,191👁 2,151⑃ 638● 3,607▤ 49
VueMITCreated 2017-04-17
Download: 4.4.0 Update to vue-cli@44.4.0 ↓4.4.02020-06-21
+0
Daily
-18
Weekly
90,095
stars
30,191
forks
2,151
watchers
638
prs
3,607
issues
49
releases

README

English | 简体中文 | 日本語 | Spanish


  SPONSORED BY


  
    
      
       
        
        
      
    
   
--

 Introduction

vue-element-admin is a production-ready front-end solution for admin interfaces. It is based on vue and uses the UI Toolkit element-ui.

vue-element-admin is based on the newest development stack of vue and it has a built-in i18n solution, typical templates for enterprise applications, and lots of awesome features. It helps you build large and complex Single-Page Applications. I believe whatever your needs are, this project will help you.

- Preview

- Documentation

- Gitter

- Donate

- Wiki

- Gitee 国内用户可访问该地址在线预览

- Base template recommends using: vue-admin-template
- Desktop: electron-vue-admin
- Typescript: vue-typescript-admin-template (Credits: @Armour)
- awesome-project

After the v4.1.0+ version, the default master branch will not support i18n. Please use i18n Branch, it will keep up with the master update

The current version is v4.0+ build on vue-cli. If you find a problem, please put issue. If you want to use the old version , you can switch branch to tag/3.11.0, it does not rely on vue-cli

This project does not support low version browsers (e.g. IE). Please add polyfill by yourself.

 Preparation

You need to install node and git locally. The project is based on ES2015+, vue, vuex, vue-router, vue-cli , axios and element-ui, all request data is simulated using Mock.js.
Understanding and learning this knowledge in advance will greatly help the use of this project.




  


 Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor]](https://www.patreon.com/panjiachen)

 Akveo
Get Java backend for Vue admin with 20% discount for 39$ use coupon code SWB0RAZPZR1M


 Flatlogic

Admin Dashboard Templates made with Vue, React and Angular.

 Features


- Login / Logout

- Permission Authentication
  - Page permission
  - Directive permission
  - Permission configuration page
  - Two-step login

- Multi-environment build
  - Develop (dev)
  - sit
  - Stage Test (stage)
  - Production (prod)

- Global Features
  - I18n
  - Multiple dynamic themes
  - Dynamic sidebar (supports multi-level routing)
  - Dynamic breadcrumb
  - Tags-view (Tab page Support right-click operation)
  - Svg Sprite
  - Mock data
  - Screenfull
  - Responsive Sidebar

- Editor
  - Rich Text Editor
  - Markdown Editor
  - JSON Editor

- Excel
  - Export Excel
  - Upload Excel
  - Visualization Excel
  - Export zip

- Table
  - Dynamic Table
  - Drag And Drop Table
  - Inline Edit Table

- Error Page
  - 401
  - 404

- Components
  - Avatar Upload
  - Back To Top
  - Drag Dialog
  - Drag Select
  - Drag Kanban
  - Drag List
  - SplitPane
  - Dropzone
  - Sticky
  - CountTo

- Advanced Example
- Error Log
- Dashboard
- Guide Page
- ECharts
- Clipboard
- Markdown to html


 Getting started

bash
 clone the project
git clone https://github.com/PanJiaChen/vue-element-admin.git

 enter the project 

Top issues

Discussions

Latest release

4.4.0 Update to vue-cli@4 4.4.0 2020-06-21
在新版本中将原来的 vue-cli@3 升级为 vue-cli@4。
主要是为了解决:

- npm run dev 会自动开两个 tab https://github.com/PanJiaChen/vue-element-admin/issues/2944
- npm run build:prod 页面白屏的问题 https://github.com/PanJiaChen/vue-element-admin/issues/3271

vue-cli 升级也非常简单,基本无需自己操作说明, 可参照 https://cli.vuejs.org/migrating-from-v3/

1. 安装 最新版本@vue/cli

bash
npm install -g @vue/cli
 OR
yarn global add @vue/cli


2. 然后执行

bash
vue upgrade


脚本就会自动帮你进行升级

 :warning: Breaking Changes

有一点需要额外注意,在新版本中废弃了通过VUE_CLI_BABEL_TRANSPILE_MODULES来控制懒加载

 废弃原因

在vue-cli@3时代,使用VUE_CLI_BABEL_TRANSPILE_MODULES是 ok 的,但其实也是脆

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON