chore: 添加环境变量配置文件

This commit is contained in:
2024-08-28 13:01:13 +08:00
parent 8db4370f17
commit d451b29b7f

7
src/config/env.js Normal file
View File

@@ -0,0 +1,7 @@
const ENV = import.meta.env;
/** 是否为开发环境 */
export const IS_DEV = ENV.DEV;
/** 是否为生产环境 */
export const IS_PROD = ENV.PROD;