env.d.ts 462 B

123456789101112131415161718
  1. declare interface ImportMetaEnv {
  2. readonly VITE_APP_TITLE: string
  3. readonly VITE_BASE_API: string
  4. readonly VITE_ROUTER_HISTORY: 'hash' | 'html5'
  5. readonly VITE_PUBLIC_PATH: string
  6. readonly VITE_VIDEO_PORT: string
  7. readonly VITE_HEART_BEAT_PORT: string
  8. }
  9. interface ImportMeta {
  10. readonly env: ImportMetaEnv
  11. }
  12. declare module '*.vue' {
  13. import { DefineComponent } from 'vue'
  14. const component: DefineComponent<{}, {}, any>
  15. export default component
  16. }