From f19f368a963be68940432bb0d4e0f5d74306c2d9 Mon Sep 17 00:00:00 2001 From: Pouya Mohammadkhani <31730646+BlackCrowxyz@users.noreply.github.com> Date: Mon, 16 Oct 2023 13:19:00 +0330 Subject: [PATCH] feat: Add storeToRefs to the auto imports in @pinia/nuxt #1876 (#2427) Co-authored-by: Eduardo San Martin Morote Co-authored-by: Eduardo San Martin Morote --- packages/nuxt/src/module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nuxt/src/module.ts b/packages/nuxt/src/module.ts index b373d4c4c5..e72d0d2447 100644 --- a/packages/nuxt/src/module.ts +++ b/packages/nuxt/src/module.ts @@ -89,6 +89,7 @@ const module: NuxtModule = defineNuxtModule({ { from: composables, name: 'defineStore' }, { from: composables, name: 'acceptHMRUpdate' }, { from: composables, name: 'usePinia' }, + { from: composables, name: 'storeToRefs' }, ]) if (!options.storesDirs) {