N
Nuxt11mo ago
luhu

Storybook in Nuxt: Anyone got it running?

So I'm trying to get Storybook running in our nuxt3 project for a few months now (waiting for updates of the modules again and again) and I'm really disappointed in the nuxt eco system that it still seems to be impossible to get Storybook running with all needed features. Both available integrations (https://github.com/nuxt-modules/storybook and https://github.com/storybookjs/storybook-nuxt) are not really maintained anymore, several people are raising issues about the same problems again and again. Am I really one of the few people that want to have storybook? It's really a necessary tool when it comes to developing on enterprise platforms in bigger teams. And setting it up in a react project is really a matter of minutes rather than hours. Did anyone get Storybook running with nuxt, with all the magic like useNuxtApp(), composables, auto imports, Nuxt Link, NuxtIcon, etc? I also tried to get histoire integrated but it seems to have similar issues. I have opened bug reports. Let's see if they will be adressed.
GitHub
GitHub - nuxt-modules/storybook: Storybook integration with Nuxt.
Storybook integration with Nuxt. Contribute to nuxt-modules/storybook development by creating an account on GitHub.
2 Replies
Orbviox
Orbviox11mo ago
The storybook module needs a little work at the moment, but if you'd like, you can set up a minimum module for it by referring to the examples linked in https://github.com/storybook-vue/nuxt-storybook/issues/1
GitHub
Use storybook's buildDevStandalone to start dev server · Issue #1 ·...
Currently the module uses the storybook cli to start the dev server in a new process. I think its more flexible and convenient to use storybooks buildDevStandalone for this. You can have a look at ...
BinaryArtifex
BinaryArtifex4mo ago
its now mid september. senior react dev. been throwin into a greenfields nuxt project, if its one thing i vehemently hate, its frameworks that hide away and manage deps on your behalf, so when problems happen, you gotta wait for someone else to pull the proverbial stick out, like NX, the monorepo manager for example, the amount of work hours ive lost trying to fix things i have no business having to fix in the first place. ive wasted my ENTIRE f*cking work day trying to get storybook going in nuxt....im ok.....
Want results from more Discord servers?
Add your server