Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liuyunhe/shidi
客户主数据中心系统(vue+vuex+axios+vue-resource+element-ui+es6)
https://github.com/liuyunhe/shidi
axios element-ui es6 sass vue-router vuejs2 vuex
Last synced: 7 days ago
JSON representation
客户主数据中心系统(vue+vuex+axios+vue-resource+element-ui+es6)
- Host: GitHub
- URL: https://github.com/liuyunhe/shidi
- Owner: liuyunhe
- License: mit
- Created: 2018-02-05T04:01:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T11:53:54.000Z (almost 7 years ago)
- Last Synced: 2024-11-07T10:53:35.206Z (about 2 months ago)
- Topics: axios, element-ui, es6, sass, vue-router, vuejs2, vuex
- Language: Vue
- Homepage:
- Size: 587 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**demo**: [https://taylorchen709.github.io/vue-admin/](https://taylorchen709.github.io/vue-admin/)
# To start
This is a project template for [vue-cli](https://github.com/vuejs/vue-cli)
``` bash
# 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/#/](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](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/rec-demo.gif)
![theme-green](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/theme-green.png)# Browser support
Modern browsers and IE 10+.
# License
[MIT](http://opensource.org/licenses/MIT)