rspack-contrib / storybook-rsbuild

Storybook builder and frameworks powered by Rsbuild.
https://storybook.rsbuild.dev/
MIT License
83 stars 7 forks source link

Support for create a new project #18

Open chenjiahan opened 5 months ago

chenjiahan commented 5 months ago

Can storybook-rsbuild provide a package like create-rsbuild?

It allows users to:

fi3ework commented 5 months ago

In the Storybook philosophy, the project with its builder or framework exists first, then Storybook comes and detect what's tool chain been using and end up with an automatic heuristic initialization with storybook init. See https://storybook.js.org/docs/get-started/install.

As the storybook init command only works with the "official" builders, we need to support a command like storybook-rsbuild init which only generate and install deps for Rsbuild will sufficient.

We could implement a simple version of the command, hope the command could be pluggable with storybook.