2022-11-08 22:53:42 +08:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
|
|
2023-06-14 23:37:06 +08:00
|
|
|
declare module "*.vue" {
|
|
|
|
|
import { DefineComponent } from "vue";
|
2022-11-08 22:53:42 +08:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
|
|
|
const component: DefineComponent<{}, {}, any>;
|
|
|
|
|
export default component;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMetaEnv {
|
2023-11-16 22:46:28 +08:00
|
|
|
/** 应用端口 */
|
2022-11-08 22:53:42 +08:00
|
|
|
VITE_APP_PORT: string;
|
2023-11-16 22:46:28 +08:00
|
|
|
/** API 基础路径 */
|
2022-11-08 22:53:42 +08:00
|
|
|
VITE_APP_BASE_API: string;
|
2023-11-16 22:46:28 +08:00
|
|
|
VITE_APP_API_URL: string;
|
2022-11-08 22:53:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
|
readonly env: ImportMetaEnv;
|
|
|
|
|
}
|