Files
lingniu-platform/idp/frontend/vite-env.d.ts
2026-02-09 11:24:51 +08:00

28 lines
504 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
// 路径别名类型声明
declare module '~/*' {
const content: any
export default content
}
declare module '@/*' {
const content: any
export default content
}