feat: 环境变量添加NODE_ENV

This commit is contained in:
有来技术
2021-11-19 23:57:55 +08:00
parent abf2cce2cb
commit 8f1a7c7a61
4 changed files with 6 additions and 0 deletions

1
src/env.d.ts vendored
View File

@@ -10,6 +10,7 @@ declare module '*.vue' {
// 环境变量智能提示
interface ImportMetaEnv {
NODE_ENV:string,
VITE_APP_TITLE: string,
VITE_APP_PORT: string,
VITE_APP_BASE_API: string