From 353edd1bb22ff51f5bb560145082cf852f60c75c Mon Sep 17 00:00:00 2001 From: taylor <709161610@qq.com> Date: Thu, 13 Apr 2017 16:40:49 +0800 Subject: [PATCH] update version --- README.md | 53 +++++++++++++++++++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 45 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2605389..c2b7d30 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -### Usage +**demo**: [https://taylorchen709.github.io/vue-admin/](https://taylorchen709.github.io/vue-admin/) -This is a project template for [vue-cli](https://github.com/vuejs/vue-cli). +# To start + +This is a project template for [vue-cli](https://github.com/vuejs/vue-cli) ``` bash # install dependencies @@ -14,14 +16,47 @@ npm run build ``` -### Browser Support +# 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'~~ + 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) -Modern browsers and Internet Explorer 10+. +# Browser Support -### snapshots -![image](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/login.png) -![image](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/main.png) -![image](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/vueadmin/edit.jpg) +Modern browsers and IE 10+. -### License +# License [MIT](http://opensource.org/licenses/MIT) + +需要加微信群的可以先加我,备注vue + + + +![wechatid](https://raw.githubusercontent.com/taylorchen709/markdown-images/master/mywechatid.jpg) \ No newline at end of file diff --git a/package.json b/package.json index eccb542..f3ab18e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vueadmin", - "version": "1.0.2", + "version": "1.0.5", "description": "vue admin project", "author": "taylor <709161610@qq.com>", "license": "MIT",