feat:修改多环境变量配置和添加智能提示
This commit is contained in:
8
src/env.d.ts
vendored
8
src/env.d.ts
vendored
@@ -6,3 +6,11 @@ declare module '*.vue' {
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
|
||||
// 环境变量智能提示
|
||||
interface ImportMetaEnv {
|
||||
VITE_APP_TITLE: string,
|
||||
VITE_APP_PORT: string,
|
||||
VITE_APP_BASE_API: string
|
||||
}
|
||||
Reference in New Issue
Block a user