storybook-vue / nuxt-storybook

Storybook Module for Nuxt Framework
18 stars 0 forks source link

Plugin not available at stoybook useNuxtApp #3

Open qlash opened 9 months ago

qlash commented 9 months ago

When I create simple plugin to share value across my app

plugins/test.ts export default defineNuxtPlugin(() => { return { provide: { test: 'string' }, }; });

and I use it in a component like so: const { $test } = useNuxtApp(); this works in nuxt but in storybook is not available

versions: "@nuxtjs/storybook": "7.0.0", "nuxt": "^3.9.0",