跳板机管理web端
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.

57 lines
1.3 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. **demo**: [https://taylorchen709.github.io/vue-admin/](https://taylorchen709.github.io/vue-admin/)
  2. # To start
  3. This is a project template for [vue-cli](https://github.com/vuejs/vue-cli)
  4. ``` bash
  5. # install dependencies
  6. npm install
  7. # serve with hot reload at localhost:8081
  8. npm run dev
  9. # build for production with minification
  10. npm run build
  11. ```
  12. # Folder structure
  13. * build - webpack config files
  14. * config - webpack config files
  15. * dist - build
  16. * src -your app
  17. * api
  18. * assets
  19. * common
  20. * components - your vue components
  21. * mock
  22. * styles
  23. * views - your pages
  24. * vuex
  25. * App.vue
  26. * main.js - main file
  27. * routes.js
  28. * static - static assets
  29. # Theme
  30. You can change theme by
  31. 1. Generate theme packages by [https://elementui.github.io/theme-preview/#/](https://elementui.github.io/theme-preview/#/)
  32. 2. Put theme packages in src/assets/theme/
  33. 3. Edit src/main.js
  34. ``` bash
  35. import 'element-ui/lib/theme-default/index.css'
  36. to
  37. import './assets/theme/your-theme/index.css'
  38. ```
  39. 4. Edit src/styles/vars.scss
  40. ![theme-blue](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/rec-demo.gif)
  41. ![theme-green](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/theme-green.png)
  42. # Browser support
  43. Modern browsers and IE 10+.
  44. # License
  45. [MIT](http://opensource.org/licenses/MIT)