vite-env.d.ts 545 B

123456789101112131415161718192021222324252627
  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_LOGO: 'QingQue'|'KuPai'
  9. readonly VITE_API_HOST: string
  10. readonly VITE_PROJECT_NAME: string
  11. readonly DEV: boolean
  12. readonly VITE_ENV: 'development'|'production'
  13. }
  14. interface ImportMeta {
  15. readonly env: ImportMetaEnv
  16. }
  17. declare module 'element-plus/dist/locale/zh-cn.mjs'