forked from integrated_whb/integrated_whb_vue
环境变量增加提示
parent
327a999598
commit
0b7f1f65df
|
@ -2,3 +2,4 @@ public
|
||||||
dist
|
dist
|
||||||
package.json
|
package.json
|
||||||
!.prettierrc.cjs
|
!.prettierrc.cjs
|
||||||
|
src/vite-env.d.ts
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
/// <reference types="vite/client" />
|
||||||
|
|
||||||
|
interface ImportMetaEnv {
|
||||||
|
readonly VITE_BASE_URL: string
|
||||||
|
readonly VITE_PROXY: string
|
||||||
|
readonly VITE_FILE_URL: string
|
||||||
|
readonly VITE_TEMPLATE_URL: string
|
||||||
|
readonly VITE_ON_LINE_WEB_SOCKET_URL: string
|
||||||
|
readonly VITE_LEARNING_WEB_SOCKET_URL: string
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ImportMeta {
|
||||||
|
readonly env: ImportMetaEnv
|
||||||
|
}
|
Loading…
Reference in New Issue