Files
CKB-Touchkebao/TouchVueThree/env.d.ts
2026-01-09 10:15:29 +08:00

22 lines
514 B
TypeScript

/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
readonly VITE_APP_VERSION: string
readonly VITE_API_BASE_URL: string
readonly VITE_API_TIMEOUT: string
readonly VITE_ENABLE_DEBUG: string
readonly VITE_ENABLE_MOCK: string
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}