storybook-vue / storybook-nuxt

Deprecated in favor of https://github.com/nuxt-modules/storybook/
https://github.com/nuxt-modules/storybook/
132 stars 20 forks source link

Can't use Nuxt Composables #60

Closed jamespatrick91 closed 6 months ago

jamespatrick91 commented 1 year ago

So I'm trying to use nuxt composables like useRuntimeConfig() but then I'm getting the below error:

[nuxt] instance unavailable Error: [nuxt] instance unavailable at useNuxtApp (http://localhost:6006/node_modules/nuxt/dist/app/nuxt.js?v=55bb19df:172:13)

How do we go about passing the nuxt context?

chakAs3 commented 1 year ago

please create a reproduction repo for me so i can check it out!

peteromano commented 1 year ago

Make sure you're using nuxt composable only in Githubissues.

  • Githubissues is a development platform for aggregating issues.