Blame view

README.md 7.87 KB
d7d9c38c2   Adam   auto commit the c...
1
2
3
  <p align="center">
    <img width="320" src="https://wpimg.wallstcn.com/ecc53a42-d79b-42e2-8852-5126b810a4c8.svg">
  </p>
80a28914e   吉鹏   init
4

d7d9c38c2   Adam   auto commit the c...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <p align="center">
    <a href="https://github.com/vuejs/vue">
      <img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg" alt="vue">
    </a>
    <a href="https://github.com/ElemeFE/element">
      <img src="https://img.shields.io/badge/element--ui-2.7.0-brightgreen.svg" alt="element-ui">
    </a>
    <a href="https://travis-ci.org/PanJiaChen/vue-element-admin" rel="nofollow">
      <img src="https://travis-ci.org/PanJiaChen/vue-element-admin.svg?branch=master" alt="Build Status">
    </a>
    <a href="https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE">
      <img src="https://img.shields.io/github/license/mashape/apistatus.svg" alt="license">
    </a>
    <a href="https://github.com/PanJiaChen/vue-element-admin/releases">
      <img src="https://img.shields.io/github/release/PanJiaChen/vue-element-admin.svg" alt="GitHub release">
    </a>
    <a href="https://gitter.im/vue-element-admin/discuss">
      <img src="https://badges.gitter.im/Join%20Chat.svg" alt="gitter">
    </a>
    <a href="https://panjiachen.github.io/vue-element-admin-site/donate">
      <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg" alt="donate">
    </a>
  </p>
cf56a6c30   吉鹏   init role permission
28

d7d9c38c2   Adam   auto commit the c...
29
  English | [简体中文](./README.zh-CN.md) | [日本語](./README.ja.md) | [Spanish](./README.es.md)
cf56a6c30   吉鹏   init role permission
30

d7d9c38c2   Adam   auto commit the c...
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
  ## Introduction
  
  [vue-element-admin](https://panjiachen.github.io/vue-element-admin) is a production-ready front-end solution for admin interfaces. It is based on [vue](https://github.com/vuejs/vue) and uses the UI Toolkit [element-ui](https://github.com/ElemeFE/element).
  
  [vue-element-admin](https://panjiachen.github.io/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](https://panjiachen.github.io/vue-element-admin)
  
  - [Documentation](https://panjiachen.github.io/vue-element-admin-site/)
  
  - [Gitter](https://gitter.im/vue-element-admin/discuss)
  
  - [Donate](https://panjiachen.github.io/vue-element-admin-site/donate/)
  
  - [Wiki](https://github.com/PanJiaChen/vue-element-admin/wiki)
  
  - [Gitee](https://panjiachen.gitee.io/vue-element-admin/) 国内用户可访问该地址在线预览
  
  - Base template recommends using: [vue-admin-template](https://github.com/PanJiaChen/vue-admin-template)
  - Desktop: [electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)
  - Typescript: [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
  - [awesome-project](https://github.com/PanJiaChen/vue-element-admin/issues/2312)
  
  **After the `v4.1.0+` version, the default master branch will not support i18n. Please use [i18n Branch](https://github.com/PanJiaChen/vue-element-admin/tree/i18n), 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](https://github.com/PanJiaChen/vue-element-admin/issues/new). If you want to use the old version , you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-element-admin/tree/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](https://nodejs.org/) and [git](https://git-scm.com/) locally. The project is based on [ES2015+](https://es6.ruanyifeng.com/), [vue](https://cn.vuejs.org/index.html), [vuex](https://vuex.vuejs.org/zh-cn/), [vue-router](https://router.vuejs.org/zh-cn/), [vue-cli](https://github.com/vuejs/vue-cli) , [axios](https://github.com/axios/axios) and [element-ui](https://github.com/ElemeFE/element), all request data is simulated using [Mock.js](https://github.com/nuysoft/Mock).
  Understanding and learning this knowledge in advance will greatly help the use of this project.
  
   <p align="center">
    <img width="900" src="https://wpimg.wallstcn.com/a5894c1b-f6af-456e-82df-1151da0839bf.png">
  </p>
  
  ## 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)
  
  <a href="https://flatlogic.com/admin-dashboards?from=vue-element-admin"><img width="150px" src="https://wpimg.wallstcn.com/9c0b719b-5551-4c1e-b776-63994632d94a.png" /></a><p>Admin Dashboard Templates made with Vue, React and Angular.</p>
  
  ## Features
  
  ```
  - Login / Logout
  
  - Permission Authentication
    - Page permission
    - Directive permission
    - Permission configuration page
    - Two-step login
  
  - Multi-environment build
    - dev sit stage 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
cf56a6c30   吉鹏   init role permission
142

80a28914e   吉鹏   init
143
  ```bash
d7d9c38c2   Adam   auto commit the c...
144
145
  # clone the project
  git clone -b i18n git@github.com:PanJiaChen/vue-element-admin.git
80a28914e   吉鹏   init
146
147
  
  # enter the project directory
d7d9c38c2   Adam   auto commit the c...
148
  cd vue-element-admin
80a28914e   吉鹏   init
149
150
151
152
153
154
155
  
  # install dependency
  npm install
  
  # develop
  npm run dev
  ```
d7d9c38c2   Adam   auto commit the c...
156
  This will automatically open http://localhost:9527
80a28914e   吉鹏   init
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
  
  ## Build
  
  ```bash
  # build for test environment
  npm run build:stage
  
  # build for production environment
  npm run build:prod
  ```
  
  ## Advanced
  
  ```bash
  # preview the release environment effect
  npm run preview
  
  # preview the release environment effect + static resource analysis
  npm run preview -- --report
  
  # code format check
  npm run lint
  
  # code format check and auto fix
  npm run lint -- --fix
  ```
  
  Refer to [Documentation](https://panjiachen.github.io/vue-element-admin-site/guide/essentials/deploy.html) for more information
d7d9c38c2   Adam   auto commit the c...
185
  ## Changelog
80a28914e   吉鹏   init
186

d7d9c38c2   Adam   auto commit the c...
187
  Detailed changes for each release are documented in the [release notes](https://github.com/PanJiaChen/vue-element-admin/releases).
80a28914e   吉鹏   init
188

d7d9c38c2   Adam   auto commit the c...
189
  ## Online Demo
80a28914e   吉鹏   init
190

d7d9c38c2   Adam   auto commit the c...
191
  [Preview](https://panjiachen.github.io/vue-element-admin)
80a28914e   吉鹏   init
192

d7d9c38c2   Adam   auto commit the c...
193
  ## Donate
80a28914e   吉鹏   init
194

d7d9c38c2   Adam   auto commit the c...
195
  If you find this project useful, you can buy author a glass of juice :tropical_drink:
80a28914e   吉鹏   init
196

d7d9c38c2   Adam   auto commit the c...
197
  ![donate](https://wpimg.wallstcn.com/bd273f0d-83a0-4ef2-92e1-9ac8ed3746b9.png)
80a28914e   吉鹏   init
198

d7d9c38c2   Adam   auto commit the c...
199
  [Paypal Me](https://www.paypal.me/panfree23)
80a28914e   吉鹏   init
200

d7d9c38c2   Adam   auto commit the c...
201
  [Buy me a coffee](https://www.buymeacoffee.com/Pan)
80a28914e   吉鹏   init
202

d7d9c38c2   Adam   auto commit the c...
203
204
205
206
207
208
209
210
211
  ## Browsers support
  
  Modern browsers and Internet Explorer 10+.
  
  | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Safari |
  | --------- | --------- | --------- | --------- |
  | IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
  
  ## License
80a28914e   吉鹏   init
212

d7d9c38c2   Adam   auto commit the c...
213
  [MIT](https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE)
80a28914e   吉鹏   init
214

d7d9c38c2   Adam   auto commit the c...
215
  Copyright (c) 2017-present PanJiaChen