gokins/uis/vue-admin
2020-10-22 11:39:32 +08:00
..
build 挪移仓库,+vue+表 2020-09-29 22:35:32 +08:00
config fix bugs 2020-10-20 18:00:39 +08:00
src trigger js plugin+gitee plugin++ 2020-10-22 11:39:32 +08:00
static fix: 增加登录logo 2020-10-19 21:18:18 +08:00
.babelrc 挪移仓库,+vue+表 2020-09-29 22:35:32 +08:00
.gitignore 挪移仓库,+vue+表 2020-09-29 22:35:32 +08:00
index.html login+model+ 2020-09-30 15:58:22 +08:00
LICENSE 挪移仓库,+vue+表 2020-09-29 22:35:32 +08:00
package.json login+model+ 2020-09-30 15:58:22 +08:00
README.md 挪移仓库,+vue+表 2020-09-29 22:35:32 +08:00
yarn.lock login+model+ 2020-09-30 15:58:22 +08:00

demo: https://taylorchen709.github.io/vue-admin/

To start

This is a project template for vue-cli

# install dependencies
npm install

# serve with hot reload at localhost:8081
npm run dev

# build for production with minification
npm run build

Folder structure

  • build - webpack config files
  • config - webpack config files
  • dist - build
  • src -your app
    • api
    • assets
    • common
    • components - your vue components
    • mock
    • styles
    • views - your pages
    • vuex
    • App.vue
    • main.js - main file
    • routes.js
  • static - static assets

Theme

You can change theme by

  1. Generate theme packages by https://elementui.github.io/theme-preview/#/
  2. Put theme packages in src/assets/theme/
  3. Edit src/main.js
   import 'element-ui/lib/theme-default/index.css'
   to
   import './assets/theme/your-theme/index.css'
  1. Edit src/styles/vars.scss

theme-blue theme-green

Browser support

Modern browsers and IE 10+.

License

MIT