From 93b5618b52a8336656b01df591552fef1e3c9cff Mon Sep 17 00:00:00 2001 From: jinmao88 <50581550+jinmao88@users.noreply.github.com> Date: Sat, 28 Sep 2024 16:01:04 +0800 Subject: [PATCH] feat(@vben/stores): export defineStore to support pinia persistence within apps (#4483) Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com> --- packages/stores/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stores/src/index.ts b/packages/stores/src/index.ts index 4a88d690..41b3662c 100644 --- a/packages/stores/src/index.ts +++ b/packages/stores/src/index.ts @@ -1,3 +1,3 @@ export * from './modules'; export * from './setup'; -export { storeToRefs } from 'pinia'; +export { defineStore, storeToRefs } from 'pinia';