sunyadv a9039d2d6b 更新 5 年之前
..
build 606c2d4cc2 更新 5 年之前
config a9039d2d6b 更新 5 年之前
src 32b4f0ab53 项目列表 5 年之前
static b54b7a0314 云塑网前端代码 5 年之前
.babelrc b54b7a0314 云塑网前端代码 5 年之前
.gitignore 5c8745a302 c 5 年之前
LICENSE b54b7a0314 云塑网前端代码 5 年之前
README.md b54b7a0314 云塑网前端代码 5 年之前
index.html dad0c93f68 Merge branch 'master' of http://47.100.37.243:10080/ZHOU/yunsu 5 年之前
package-lock.json 606c2d4cc2 更新 5 年之前
package.json 606c2d4cc2 更新 5 年之前

README.md

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 bash import 'element-ui/lib/theme-default/index.css' to import './assets/theme/your-theme/index.css'
  4. Edit src/styles/vars.scss

theme-blue theme-green

Browser support

Modern browsers and IE 10+.

License

MIT