@@ -4,6 +4,7 @@ import vue from '@vitejs/plugin-vue';
import { viteVConsole } from 'vite-plugin-vconsole';
export default defineConfig(({ mode, command }) => {
+ // 加载环境配置
const env = loadEnv(mode, path.join(process.cwd(), 'env'));
return {
base: '/',// 基础路径