`nuxt/storybook` does not work
nuxt/storybook
has some big problems:
- Installation (jsdoc-type-pratt-parser
)
- Rendering with the template
- Suspense with nuxt/icon
- Self-documentation
In short, almost nothing works.
I tried to find workarounds for every single problem and I can't get out of it. It's a dog chasing its tail. Can anyone point me to a version (even an old one) where everything more or less works? Or an alternative solution
ES: don't use the nuxt module but vue-vite.
The problem is that I don't know how to integrate it with Nuxt (eg: it requires the Vite setting)
Thanks5 Replies
What? It seen well maintained I’m surprised
You can try it with a simple install
Doesn't work either. They're many issues opened.
yep. can confirm. that bloody jsdoc-type-pratt-parser led me to this thread. i literally took the starter example at https://github.com/nuxt-modules/storybook/blob/main/examples/starter/app.vue
and copied it verbatim into a new nuxt installation...im a stubbed toe away from just going back to remix
GitHub
storybook/examples/starter/app.vue at main · nuxt-modules/storybook
Storybook integration with Nuxt. Contribute to nuxt-modules/storybook development by creating an account on GitHub.
for me, adding this to my nuxt config's vite property did the trick