modernweb-dev / web

Guides, tools and libraries for modern web development.
https://modern-web.dev
MIT License
2.22k stars 288 forks source link

Using storybook-builder-vite to allow any storybook addon #1505

Open shaal opened 3 years ago

shaal commented 3 years ago

I tested https://github.com/modernweb-dev/web/tree/master/packages/dev-server-storybook But I couldn't add the a11y addon for storybook.

But then I found https://github.com/eirslett/storybook-builder-vite, which allowed me to add any storybook addon. Would you consider supporting and recommending storybook-builder-vite in the guide?

LarsDenBakker commented 3 years ago

We recommend the current storybook setup so that we can use storybook without a build. I haven't looked into the storybook builder API yet, but vite is also not quite buildless so I'm not sure if fits our recommendations currently.

shaal commented 3 years ago

Thank you @LarsDenBakker Storybook officially announced Storybook for Vite yesterday, https://storybook.js.org/blog/storybook-for-vite It is using https://github.com/eirslett/storybook-builder-vite and it's so fast! Can you look into it?