nuxt-storybook icon indicating copy to clipboard operation
nuxt-storybook copied to clipboard

Plugin not available at stoybook useNuxtApp

Open qlash opened this issue 1 year ago • 0 comments

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",

qlash avatar Jan 25 '24 06:01 qlash