env.d.ts 519 B

1234567891011121314151617181920
  1. /// <reference types="vite/client" />
  2. declare module '*.vue' {
  3. import type { DefineComponent } from 'vue'
  4. const component: DefineComponent<{}, {}, any>
  5. export default component
  6. }
  7. interface ImportMetaEnv {
  8. readonly VITE_APP_BASE: string
  9. readonly VITE_APP_BASE_API: string
  10. readonly VITE_APP_BASE_API_DEV: string
  11. readonly VITE_APP_BASE_URL: string
  12. readonly VITE_APP_BASE_URL_DEV: string
  13. readonly VITE_APP_LOAD_ROUTE_WAY: 'FRONTEND' | 'BACKEND'
  14. }
  15. interface ImportMeta {
  16. readonly env: ImportMetaEnv
  17. }