1.element-ui 加默认主题
Showing
3 changed files
with
11 additions
and
1 deletions
... | @@ -44,6 +44,7 @@ | ... | @@ -44,6 +44,7 @@ |
44 | "babel-plugin-component": "^1.1.1", | 44 | "babel-plugin-component": "^1.1.1", |
45 | "babel-plugin-import": "^1.13.0", | 45 | "babel-plugin-import": "^1.13.0", |
46 | "babel-polyfill": "^6.26.0", | 46 | "babel-polyfill": "^6.26.0", |
47 | "element-theme-chalk": "^2.13.0", | ||
47 | "eslint": "^5.16.0", | 48 | "eslint": "^5.16.0", |
48 | "eslint-plugin-vue": "^5.0.0", | 49 | "eslint-plugin-vue": "^5.0.0", |
49 | "node-sass": "^4.12.0", | 50 | "node-sass": "^4.12.0", | ... | ... |
... | @@ -4,6 +4,10 @@ import App from './App.vue'; | ... | @@ -4,6 +4,10 @@ import App from './App.vue'; |
4 | import router from './router'; | 4 | import router from './router'; |
5 | import store from './store/index'; | 5 | import store from './store/index'; |
6 | 6 | ||
7 | import Element from 'element-ui' | ||
8 | import '@styles/element-variables.scss' | ||
9 | Vue.use(Element) | ||
10 | |||
7 | import api from '@/api/api' | 11 | import api from '@/api/api' |
8 | import { | 12 | import { |
9 | httpGet, | 13 | httpGet, | ... | ... |
-
Please register or sign in to post a comment