refactor: migrate to Vant and set up auto-imports
- replace uni-ui drawer and icon components with Vant equivalents - add unplugin-auto-import and unplugin-vue-components to Vite config - update project dependencies to compatible versions - generate auto-import and component type declaration files - clean up deprecated imports and commented code in home page components - fix App.vue to use lowercase router-view and script setup
This commit is contained in:
96
components.d.ts
vendored
Normal file
96
components.d.ts
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
// biome-ignore lint: disable
|
||||
// oxlint-disable
|
||||
// ------
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
import { GlobalComponents } from 'vue'
|
||||
|
||||
export {}
|
||||
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AddCarCrad: typeof import('./src/components/AddCarCrad/index.vue')['default']
|
||||
AiTabSwitch: typeof import('./src/components/AiTabSwitch/index.vue')['default']
|
||||
Calender: typeof import('./src/components/Calender/index.vue')['default']
|
||||
CheckBox: typeof import('./src/components/CheckBox/index.vue')['default']
|
||||
CommandWrapper: typeof import('./src/components/CommandWrapper/index.vue')['default']
|
||||
CreateServiceOrder: typeof import('./src/components/CreateServiceOrder/index.vue')['default']
|
||||
CustomEmpty: typeof import('./src/components/CustomEmpty/index.vue')['default']
|
||||
DateRangeSection: typeof import('./src/components/DateRangeSection/index.vue')['default']
|
||||
Demo: typeof import('./src/components/FormCard/demo.vue')['default']
|
||||
DetailPopup: typeof import('./src/components/DetailPopup/index.vue')['default']
|
||||
Divider: typeof import('./src/components/Divider/index.vue')['default']
|
||||
Feedback: typeof import('./src/components/Feedback/index.vue')['default']
|
||||
FormCard: typeof import('./src/components/FormCard/index.vue')['default']
|
||||
GoodDetail: typeof import('./src/components/GoodDetail/index.vue')['default']
|
||||
ImageSwiper: typeof import('./src/components/ImageSwiper/index.vue')['default']
|
||||
LocationCard: typeof import('./src/components/LocationCard/index.vue')['default']
|
||||
LocationInfo: typeof import('./src/components/LocationInfo/index.vue')['default']
|
||||
ModuleTitle: typeof import('./src/components/ModuleTitle/index.vue')['default']
|
||||
Privacy: typeof import('./src/components/Privacy/index.vue')['default']
|
||||
Qrcode: typeof import('./src/components/Qrcode/index.vue')['default']
|
||||
RecordingWaveBtn: typeof import('./src/components/Speech/RecordingWaveBtn.vue')['default']
|
||||
RefundPopup: typeof import('./src/components/RefundPopup/index.vue')['default']
|
||||
ResponseIntro: typeof import('./src/components/ResponseIntro/index.vue')['default']
|
||||
ResponseWrapper: typeof import('./src/components/ResponseWrapper/index.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
ServiceTipsWord: typeof import('./src/components/ServiceTipsWord/index.vue')['default']
|
||||
SpriteAnimator: typeof import('./src/components/Sprite/SpriteAnimator.vue')['default']
|
||||
Stepper: typeof import('./src/components/Stepper/index.vue')['default']
|
||||
SumCard: typeof import('./src/components/SumCard/index.vue')['default']
|
||||
SurveyQuestionnaire: typeof import('./src/components/SurveyQuestionnaire/index.vue')['default']
|
||||
SwipeCards: typeof import('./src/components/SwipeCards/index.vue')['default']
|
||||
TagsGroup: typeof import('./src/components/TagsGroup/index.vue')['default']
|
||||
TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
|
||||
UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
|
||||
VanIcon: typeof import('vant/es')['Icon']
|
||||
VanPopup: typeof import('vant/es')['Popup']
|
||||
ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
|
||||
}
|
||||
}
|
||||
|
||||
// For TSX support
|
||||
declare global {
|
||||
const AddCarCrad: typeof import('./src/components/AddCarCrad/index.vue')['default']
|
||||
const AiTabSwitch: typeof import('./src/components/AiTabSwitch/index.vue')['default']
|
||||
const Calender: typeof import('./src/components/Calender/index.vue')['default']
|
||||
const CheckBox: typeof import('./src/components/CheckBox/index.vue')['default']
|
||||
const CommandWrapper: typeof import('./src/components/CommandWrapper/index.vue')['default']
|
||||
const CreateServiceOrder: typeof import('./src/components/CreateServiceOrder/index.vue')['default']
|
||||
const CustomEmpty: typeof import('./src/components/CustomEmpty/index.vue')['default']
|
||||
const DateRangeSection: typeof import('./src/components/DateRangeSection/index.vue')['default']
|
||||
const Demo: typeof import('./src/components/FormCard/demo.vue')['default']
|
||||
const DetailPopup: typeof import('./src/components/DetailPopup/index.vue')['default']
|
||||
const Divider: typeof import('./src/components/Divider/index.vue')['default']
|
||||
const Feedback: typeof import('./src/components/Feedback/index.vue')['default']
|
||||
const FormCard: typeof import('./src/components/FormCard/index.vue')['default']
|
||||
const GoodDetail: typeof import('./src/components/GoodDetail/index.vue')['default']
|
||||
const ImageSwiper: typeof import('./src/components/ImageSwiper/index.vue')['default']
|
||||
const LocationCard: typeof import('./src/components/LocationCard/index.vue')['default']
|
||||
const LocationInfo: typeof import('./src/components/LocationInfo/index.vue')['default']
|
||||
const ModuleTitle: typeof import('./src/components/ModuleTitle/index.vue')['default']
|
||||
const Privacy: typeof import('./src/components/Privacy/index.vue')['default']
|
||||
const Qrcode: typeof import('./src/components/Qrcode/index.vue')['default']
|
||||
const RecordingWaveBtn: typeof import('./src/components/Speech/RecordingWaveBtn.vue')['default']
|
||||
const RefundPopup: typeof import('./src/components/RefundPopup/index.vue')['default']
|
||||
const ResponseIntro: typeof import('./src/components/ResponseIntro/index.vue')['default']
|
||||
const ResponseWrapper: typeof import('./src/components/ResponseWrapper/index.vue')['default']
|
||||
const RouterLink: typeof import('vue-router')['RouterLink']
|
||||
const RouterView: typeof import('vue-router')['RouterView']
|
||||
const ServiceTipsWord: typeof import('./src/components/ServiceTipsWord/index.vue')['default']
|
||||
const SpriteAnimator: typeof import('./src/components/Sprite/SpriteAnimator.vue')['default']
|
||||
const Stepper: typeof import('./src/components/Stepper/index.vue')['default']
|
||||
const SumCard: typeof import('./src/components/SumCard/index.vue')['default']
|
||||
const SurveyQuestionnaire: typeof import('./src/components/SurveyQuestionnaire/index.vue')['default']
|
||||
const SwipeCards: typeof import('./src/components/SwipeCards/index.vue')['default']
|
||||
const TagsGroup: typeof import('./src/components/TagsGroup/index.vue')['default']
|
||||
const TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
|
||||
const UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
|
||||
const VanIcon: typeof import('vant/es')['Icon']
|
||||
const VanPopup: typeof import('vant/es')['Popup']
|
||||
const ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
|
||||
}
|
||||
Reference in New Issue
Block a user