默认提交
Showing
4 changed files
with
17 additions
and
2 deletions
| ... | @@ -4,10 +4,19 @@ module.exports = { | ... | @@ -4,10 +4,19 @@ module.exports = { |
| 4 | ], | 4 | ], |
| 5 | sourceType: 'unambiguous', | 5 | sourceType: 'unambiguous', |
| 6 | plugins: [ | 6 | plugins: [ |
| 7 | ['import', { | 7 | [ |
| 8 | 'import', { | ||
| 8 | libraryName: 'vant', | 9 | libraryName: 'vant', |
| 9 | libraryDirectory: 'es', | 10 | libraryDirectory: 'es', |
| 10 | style: true | 11 | style: true |
| 11 | }, 'vant'] | 12 | }, 'vant' |
| 13 | ], | ||
| 14 | [ | ||
| 15 | "component", | ||
| 16 | { | ||
| 17 | "libraryName": "element-ui", | ||
| 18 | "styleLibraryName": "theme-chalk" | ||
| 19 | } | ||
| 20 | ] | ||
| 12 | ] | 21 | ] |
| 13 | } | 22 | } | ... | ... |
| ... | @@ -23,6 +23,10 @@ import { | ... | @@ -23,6 +23,10 @@ import { |
| 23 | Vue.use(Collapse).use(CollapseItem); | 23 | Vue.use(Collapse).use(CollapseItem); |
| 24 | Vue.use(Icon); | 24 | Vue.use(Icon); |
| 25 | 25 | ||
| 26 | |||
| 27 | // import { Button } from 'element-ui'; | ||
| 28 | // Vue.use(Button) | ||
| 29 | |||
| 26 | import Mock from './mock' | 30 | import Mock from './mock' |
| 27 | Mock.bootstrap(); | 31 | Mock.bootstrap(); |
| 28 | 32 | ... | ... |
src/styles/element-variables.scss
0 → 100644
-
Please register or sign in to post a comment