Open qlash opened 9 months ago
When I create simple plugin to share value across my app
plugins/test.ts export default defineNuxtPlugin(() => { return { provide: { test: 'string' }, }; });
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",
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",