mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-uniapp
synced 2025-08-08 16:32:44 +08:00
28 lines
764 B
TypeScript
28 lines
764 B
TypeScript
/// <reference types="vite/client" />
|
|
/// <reference types="vite-svg-loader" />
|
|
|
|
declare module '*.vue' {
|
|
import { DefineComponent } from 'vue'
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
const component: DefineComponent<{}, {}, any>
|
|
export default component
|
|
}
|
|
|
|
interface ImportMetaEnv {
|
|
/** 网站标题,应用名称 */
|
|
readonly VITE_APP_TITLE: string
|
|
/** 服务端口号 */
|
|
readonly VITE_SERVER_PORT: string
|
|
/** 后台接口地址 */
|
|
readonly VITE_SERVER_BASEURL: string
|
|
/** 上传图片地址 */
|
|
readonly VITE_UPLOAD_BASEURL: string
|
|
/** 是否清除console */
|
|
readonly VITE_DELETE_CONSOLE: string
|
|
// 更多环境变量...
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|