From 5c745d3f5eb6d9b5d555c1ea73f0dce1d1e388ad Mon Sep 17 00:00:00 2001 From: wmn <1525968046@qq.com> Date: Mon, 2 May 2022 19:08:33 +0800 Subject: [PATCH] base --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index bcd477f..cb4d3f8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { '@api': resovePath('./src/api'), } }, + base: "./", // plugins plugins: createVitePlugins(isBuild),