From 1410b8cac4dd993c5ba6a94e299b261ed84c3f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Sat, 1 Jun 2024 02:35:32 +0800 Subject: [PATCH] fix: don't overwrite import map from initial state closes #252 --- src/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.ts b/src/store.ts index 59786cd0..772b0596 100644 --- a/src/store.ts +++ b/src/store.ts @@ -85,7 +85,7 @@ export function useStore( () => { setImportMap(mergeImportMap(getImportMap(), builtinImportMap.value)) }, - { deep: true, immediate: true }, + { deep: true }, ) watch(