Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for create a new project #18

Open
chenjiahan opened this issue May 30, 2024 · 1 comment
Open

Support for create a new project #18

chenjiahan opened this issue May 30, 2024 · 1 comment
Labels
enhancement New feature or request first party enhancement Can not aligned with first party builder/framework of Storybook

Comments

@chenjiahan
Copy link
Member

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

It allows users to:

  • Create a new Storybook Rsbuild project
  • Add Storybook Rsbuild to an existing Rsbuild project
@chenjiahan chenjiahan added the enhancement New feature or request label May 30, 2024
@fi3ework
Copy link
Member

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.

@fi3ework fi3ework added the first party enhancement Can not aligned with first party builder/framework of Storybook label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request first party enhancement Can not aligned with first party builder/framework of Storybook
Projects
None yet
Development

No branches or pull requests

2 participants