From e813d0f548eec3c322b70887990510d25df3710d Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Mon, 5 Apr 2021 11:41:42 +0800 Subject: [PATCH] default open fastRefresh --- config/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.ts b/config/config.ts index 94c52cb0..249f02c0 100644 --- a/config/config.ts +++ b/config/config.ts @@ -40,5 +40,7 @@ export default defineConfig({ manifest: { basePath: '/', }, + // 快速刷新功能 https://umijs.org/config#fastrefresh + fastRefresh: {}, esbuild: {}, });