feat: 添加 Material Icon 主题支持,更新组件类型定义和 Vite 配置
This commit is contained in:
20
components.d.ts
vendored
20
components.d.ts
vendored
@@ -12,29 +12,21 @@ export {}
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Divider: typeof import('./src/components/divider/index.vue')['default']
|
||||
ExploreContainer: typeof import('./src/components/ExploreContainer.vue')['default']
|
||||
IMaterialIconThemeGoogle: typeof import('~icons/material-icon-theme/google')['default']
|
||||
IonApp: typeof import('@ionic/vue')['IonApp']
|
||||
IonBackButton: typeof import('@ionic/vue')['IonBackButton']
|
||||
IonButton: typeof import('@ionic/vue')['IonButton']
|
||||
IonButtons: typeof import('@ionic/vue')['IonButtons']
|
||||
IonCheckbox: typeof import('@ionic/vue')['IonCheckbox']
|
||||
IonContent: typeof import('@ionic/vue')['IonContent']
|
||||
IonHeader: typeof import('@ionic/vue')['IonHeader']
|
||||
IonIcon: typeof import('@ionic/vue')['IonIcon']
|
||||
IonInput: typeof import('@ionic/vue')['IonInput']
|
||||
IonInputOtp: typeof import('@ionic/vue')['IonInputOtp']
|
||||
IonItem: typeof import('@ionic/vue')['IonItem']
|
||||
IonItemDivider: typeof import('@ionic/vue')['IonItemDivider']
|
||||
IonItemGroup: typeof import('@ionic/vue')['IonItemGroup']
|
||||
IonLabel: typeof import('@ionic/vue')['IonLabel']
|
||||
IonNote: typeof import('@ionic/vue')['IonNote']
|
||||
IonPage: typeof import('@ionic/vue')['IonPage']
|
||||
IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
|
||||
IonTabBar: typeof import('@ionic/vue')['IonTabBar']
|
||||
IonTabButton: typeof import('@ionic/vue')['IonTabButton']
|
||||
IonTabs: typeof import('@ionic/vue')['IonTabs']
|
||||
IonText: typeof import('@ionic/vue')['IonText']
|
||||
IonTitle: typeof import('@ionic/vue')['IonTitle']
|
||||
IonToolbar: typeof import('@ionic/vue')['IonToolbar']
|
||||
LayoutDefault: typeof import('./src/components/layout/default.vue')['default']
|
||||
@@ -47,29 +39,21 @@ declare module 'vue' {
|
||||
|
||||
// For TSX support
|
||||
declare global {
|
||||
const Divider: typeof import('./src/components/divider/index.vue')['default']
|
||||
const ExploreContainer: typeof import('./src/components/ExploreContainer.vue')['default']
|
||||
const IMaterialIconThemeGoogle: typeof import('~icons/material-icon-theme/google')['default']
|
||||
const IonApp: typeof import('@ionic/vue')['IonApp']
|
||||
const IonBackButton: typeof import('@ionic/vue')['IonBackButton']
|
||||
const IonButton: typeof import('@ionic/vue')['IonButton']
|
||||
const IonButtons: typeof import('@ionic/vue')['IonButtons']
|
||||
const IonCheckbox: typeof import('@ionic/vue')['IonCheckbox']
|
||||
const IonContent: typeof import('@ionic/vue')['IonContent']
|
||||
const IonHeader: typeof import('@ionic/vue')['IonHeader']
|
||||
const IonIcon: typeof import('@ionic/vue')['IonIcon']
|
||||
const IonInput: typeof import('@ionic/vue')['IonInput']
|
||||
const IonInputOtp: typeof import('@ionic/vue')['IonInputOtp']
|
||||
const IonItem: typeof import('@ionic/vue')['IonItem']
|
||||
const IonItemDivider: typeof import('@ionic/vue')['IonItemDivider']
|
||||
const IonItemGroup: typeof import('@ionic/vue')['IonItemGroup']
|
||||
const IonLabel: typeof import('@ionic/vue')['IonLabel']
|
||||
const IonNote: typeof import('@ionic/vue')['IonNote']
|
||||
const IonPage: typeof import('@ionic/vue')['IonPage']
|
||||
const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
|
||||
const IonTabBar: typeof import('@ionic/vue')['IonTabBar']
|
||||
const IonTabButton: typeof import('@ionic/vue')['IonTabButton']
|
||||
const IonTabs: typeof import('@ionic/vue')['IonTabs']
|
||||
const IonText: typeof import('@ionic/vue')['IonText']
|
||||
const IonTitle: typeof import('@ionic/vue')['IonTitle']
|
||||
const IonToolbar: typeof import('@ionic/vue')['IonToolbar']
|
||||
const LayoutDefault: typeof import('./src/components/layout/default.vue')['default']
|
||||
|
||||
Reference in New Issue
Block a user