Blame view

README.md 1.53 KB
80a28914e   吉鹏   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
  
  ```bash
  
  # enter the project directory
  cd gulu-admin
  
  # install dependency
  npm install
  
  # develop
  npm run dev
  ```
  
  This will automatically open http://localhost:9528
  
  ## 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
  
  ## Demo
  
  ![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)
  
  ## Extra
  
  If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)
  
  For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
  
  ## Related Project
  
  - [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
  
  - [electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)
  
  - [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)
  
  - [awesome-project](https://github.com/PanJiaChen/vue-element-admin/issues/2312)
  
  ## Browsers support
  
  Modern browsers and Internet Explorer 10+.