hookehuyr

feat: 添加Element Plus和Vant组件自动导入配置

1 { 1 {
2 "globals": { 2 "globals": {
3 "EffectScope": true, 3 "EffectScope": true,
4 + "ElMessage": true,
4 "computed": true, 5 "computed": true,
5 "createApp": true, 6 "createApp": true,
6 "customRef": true, 7 "customRef": true,
......
...@@ -13,6 +13,10 @@ declare module '@vue/runtime-core' { ...@@ -13,6 +13,10 @@ declare module '@vue/runtime-core' {
13 AudioBackground1: typeof import('./src/components/audioBackground1.vue')['default'] 13 AudioBackground1: typeof import('./src/components/audioBackground1.vue')['default']
14 AudioList: typeof import('./src/components/audioList.vue')['default'] 14 AudioList: typeof import('./src/components/audioList.vue')['default']
15 BottomNav: typeof import('./src/components/BottomNav.vue')['default'] 15 BottomNav: typeof import('./src/components/BottomNav.vue')['default']
16 + ElButton: typeof import('element-plus/es')['ElButton']
17 + ElInput: typeof import('element-plus/es')['ElInput']
18 + ElOption: typeof import('element-plus/es')['ElOption']
19 + ElSelect: typeof import('element-plus/es')['ElSelect']
16 Floor: typeof import('./src/components/Floor/index.vue')['default'] 20 Floor: typeof import('./src/components/Floor/index.vue')['default']
17 InfoPopup: typeof import('./src/components/InfoPopup.vue')['default'] 21 InfoPopup: typeof import('./src/components/InfoPopup.vue')['default']
18 InfoPopupLite: typeof import('./src/components/InfoPopupLite.vue')['default'] 22 InfoPopupLite: typeof import('./src/components/InfoPopupLite.vue')['default']
...@@ -24,9 +28,26 @@ declare module '@vue/runtime-core' { ...@@ -24,9 +28,26 @@ declare module '@vue/runtime-core' {
24 RouterLink: typeof import('vue-router')['RouterLink'] 28 RouterLink: typeof import('vue-router')['RouterLink']
25 RouterView: typeof import('vue-router')['RouterView'] 29 RouterView: typeof import('vue-router')['RouterView']
26 SvgIcon: typeof import('./src/components/Floor/svgIcon.vue')['default'] 30 SvgIcon: typeof import('./src/components/Floor/svgIcon.vue')['default']
31 + VanBackTop: typeof import('vant/es')['BackTop']
32 + VanButton: typeof import('vant/es')['Button']
33 + VanCol: typeof import('vant/es')['Col']
34 + VanConfigProvider: typeof import('vant/es')['ConfigProvider']
27 VanDialog: typeof import('vant/es')['Dialog'] 35 VanDialog: typeof import('vant/es')['Dialog']
36 + VanField: typeof import('vant/es')['Field']
37 + VanFloatingPanel: typeof import('vant/es')['FloatingPanel']
28 VanIcon: typeof import('vant/es')['Icon'] 38 VanIcon: typeof import('vant/es')['Icon']
39 + VanImage: typeof import('vant/es')['Image']
40 + VanImagePreview: typeof import('vant/es')['ImagePreview']
41 + VanLoading: typeof import('vant/es')['Loading']
42 + VanOverlay: typeof import('vant/es')['Overlay']
29 VanPopup: typeof import('vant/es')['Popup'] 43 VanPopup: typeof import('vant/es')['Popup']
44 + VanRow: typeof import('vant/es')['Row']
45 + VanSlider: typeof import('vant/es')['Slider']
46 + VanSwipe: typeof import('vant/es')['Swipe']
47 + VanSwipeItem: typeof import('vant/es')['SwipeItem']
48 + VanTab: typeof import('vant/es')['Tab']
49 + VanTabs: typeof import('vant/es')['Tabs']
50 + VanToast: typeof import('vant/es')['Toast']
30 VRViewer: typeof import('./src/components/VRViewer/index.vue')['default'] 51 VRViewer: typeof import('./src/components/VRViewer/index.vue')['default']
31 } 52 }
32 } 53 }
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
2 export {} 2 export {}
3 declare global { 3 declare global {
4 const EffectScope: typeof import('vue')['EffectScope'] 4 const EffectScope: typeof import('vue')['EffectScope']
5 + const ElMessage: typeof import('element-plus/es')['ElMessage']
5 const computed: typeof import('vue')['computed'] 6 const computed: typeof import('vue')['computed']
6 const createApp: typeof import('vue')['createApp'] 7 const createApp: typeof import('vue')['createApp']
7 const customRef: typeof import('vue')['customRef'] 8 const customRef: typeof import('vue')['customRef']
......