env.d.ts 387 B

12345678910111213141516
  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. }
  7. interface ImportMeta {
  8. readonly env: ImportMetaEnv
  9. }
  10. declare module '*.vue' {
  11. import { DefineComponent } from 'vue'
  12. const component: DefineComponent<{}, {}, any>
  13. export default component
  14. }