2024-08-29 17:06:00 +08:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
|
|
// 项目名称
|
|
|
|
readonly VITE_APP_NAME: string;
|
|
|
|
// 当前环境
|
|
|
|
readonly VITE_APP_ENV: 'development' | 'production';
|
|
|
|
// 启动端口
|
|
|
|
readonly VITE_APP_PORT: number;
|
2024-10-31 09:45:28 +08:00
|
|
|
// 模块名称
|
|
|
|
readonly VITE_APP_MODULE_NAME: string;
|
2024-08-29 17:06:00 +08:00
|
|
|
|
|
|
|
// axios
|
|
|
|
readonly VITE_APP_BASE_API: string;
|
|
|
|
readonly VITE_APP_PROXY_URL: string;
|
|
|
|
|
2024-08-30 17:03:25 +08:00
|
|
|
// minio
|
|
|
|
readonly VITE_APP_MINIO_URL: string
|
|
|
|
readonly VITE_APP_MINIO_BUCKET: string
|
|
|
|
|
2024-08-29 17:06:00 +08:00
|
|
|
// RSA公钥
|
|
|
|
readonly VITE_APP_RSA_PUBLIC_KEY: string;
|
2024-11-07 17:14:01 +08:00
|
|
|
|
|
|
|
// 高德
|
|
|
|
VITE_APP_GAODE_KEY: string
|
|
|
|
VITE_APP_GAODE_VERSION: string
|
2024-08-29 17:06:00 +08:00
|
|
|
}
|
2024-09-02 11:48:12 +08:00
|
|
|
|
|
|
|
declare module '*.vue' {
|
|
|
|
import {DefineComponent} from "vue"
|
|
|
|
const component: DefineComponent<{}, {}, any>
|
|
|
|
export default component
|
|
|
|
}
|