You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hace 2 años
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # vue-admin-template
  2. English | [简体中文](./README-zh.md)
  3. > A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
  4. **Live demo:** http://panjiachen.github.io/vue-admin-template
  5. **The current version is `v4.0+` build on `vue-cli`. If you want to use the old version , you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0), it does not rely on `vue-cli`**
  6. <p align="center">
  7. <b>SPONSORED BY</b>
  8. </p>
  9. <p align="center">
  10. <a href="https://finclip.com?from=vue_element" title="FinClip" target="_blank">
  11. <img height="200px" src="https://gitee.com/panjiachen/gitee-cdn/raw/master/vue%E8%B5%9E%E5%8A%A9.png" title="FinClip">
  12. </a>
  13. </p>
  14. ## Build Setup
  15. ```bash
  16. # clone the project
  17. git clone https://github.com/PanJiaChen/vue-admin-template.git
  18. # enter the project directory
  19. cd vue-admin-template
  20. # install dependency
  21. npm install
  22. # develop
  23. npm run dev
  24. ```
  25. This will automatically open http://localhost:9528
  26. ## Build
  27. ```bash
  28. # build for test environment
  29. npm run build:stage
  30. # build for production environment
  31. npm run build:prod
  32. ```
  33. ## Advanced
  34. ```bash
  35. # preview the release environment effect
  36. npm run preview
  37. # preview the release environment effect + static resource analysis
  38. npm run preview -- --report
  39. # code format check
  40. npm run lint
  41. # code format check and auto fix
  42. npm run lint -- --fix
  43. ```
  44. Refer to [Documentation](https://panjiachen.github.io/vue-element-admin-site/guide/essentials/deploy.html) for more information
  45. ## Demo
  46. ![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)
  47. ## Extra
  48. 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)
  49. For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
  50. ## Related Project
  51. - [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
  52. - [electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)
  53. - [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)
  54. - [awesome-project](https://github.com/PanJiaChen/vue-element-admin/issues/2312)
  55. ## Browsers support
  56. Modern browsers and Internet Explorer 10+.
  57. | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://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" />](http://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" />](http://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" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
  58. | --------- | --------- | --------- | --------- |
  59. | IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
  60. ## License
  61. [MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.
  62. Copyright (c) 2017-present PanJiaChen