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.
牛批的一批
f505c36b36
|
5 years ago | |
---|---|---|
build | 8 years ago | |
config | 5 years ago | |
src | 5 years ago | |
static | 8 years ago | |
.babelrc | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
index.html | 5 years ago | |
package.json | 5 years ago | |
yarn.lock | 5 years ago |
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
- Generate theme packages by https://elementui.github.io/theme-preview/#/
- Put theme packages in src/assets/theme/
- Edit src/main.js
import 'element-ui/lib/theme-default/index.css'
to
import './assets/theme/your-theme/index.css'
- Edit src/styles/vars.scss
Browser support
Modern browsers and IE 10+.