/// /// interface ImportMetaEnv { /** 后端接口地址(小程序没有同源代理,必须是完整地址) */ readonly VITE_API_BASE?: string; } interface ImportMeta { readonly env: ImportMetaEnv; } declare module '*.vue' { import type { DefineComponent } from 'vue'; const component: DefineComponent<{}, {}, any>; export default component; }