File tree 4 files changed +13
-86
lines changed
4 files changed +13
-86
lines changed Original file line number Diff line number Diff line change 9
9
"dependencies" : {
10
10
"@vue/composition-api" : " ^1.1.3" ,
11
11
"core-js" : " ^3.16.3" ,
12
- "veui" : " ^2.0.6" ,
13
12
"vue" : " ^2.6.14"
14
13
},
15
14
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div id =" app" >
3
- <veui-input-group >
4
- <veui-input />
5
- <veui-button >OK</veui-button >
6
- </veui-input-group >
7
-
8
- <veui-select >
9
- <veui-option value =" 1" >
10
- Option 1
11
- </veui-option >
12
- <veui-option value =" 2" >
13
- Option 2
14
- </veui-option >
15
- </veui-select >
16
-
17
- <veui-date-picker />
2
+ <div class =" block" >
3
+ <ComponentA msg =" a" />
4
+ <component-b msg =" b" />
5
+ <ComponentC msg =" c" />
6
+ <ComponentD />
18
7
</div >
19
8
</template >
20
9
21
- <script >
22
- export default {
23
- name: ' App' ,
24
- }
25
- </script >
26
-
27
- <style >
28
- #app {
29
- margin-top : 60px ;
10
+ <style scoped>
11
+ .block {
12
+ padding : 0px 20px 10px 20px ;
13
+ margin : 20px 20px ;
14
+ border : 1px solid #888 ;
15
+ border-radius : 5px ;
30
16
}
31
17
</style >
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ const Components = require('unplugin-vue-components/webpack')
9
9
* @type {import('@vue/cli-service').ProjectOptions }
10
10
*/
11
11
module . exports = {
12
- transpileDependencies : [ 'veui' ] ,
13
12
configureWebpack : {
14
13
plugins : [
15
14
ScriptSetup ( {
@@ -24,15 +23,6 @@ module.exports = {
24
23
IconsResolver ( {
25
24
componentPrefix : '' ,
26
25
} ) ,
27
- ( name ) => {
28
- console . log ( name )
29
- if ( name . startsWith ( 'Veui' ) ) {
30
- return {
31
- importName : name . slice ( 4 ) ,
32
- path : 'veui' ,
33
- }
34
- }
35
- } ,
36
26
] ,
37
27
transformer : 'vue2' ,
38
28
} ) ,
You can’t perform that action at this time.
0 commit comments