/// declare module '*.vue' { import type { DefineComponent } from 'vue'; const component: DefineComponent<{}, {}, any>; export default component; } declare module '@/*' { import type { ComponentOptions } from 'vue'; const component: ComponentOptions; export default component; } interface ImportMetaEnv { readonly VITE_API_BASE_URL: string; // 添加其他环境变量... } interface ImportMeta { readonly env: ImportMetaEnv; } declare module 'vue-cropper' { import { DefineComponent } from 'vue'; const VueCropper: DefineComponent<{}, {}, any>; export default VueCropper; }