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

How to define a storybook framework? #17432

Closed
melishev opened this issue Feb 6, 2022 Discussed in #17431 · 2 comments
Closed

How to define a storybook framework? #17432

melishev opened this issue Feb 6, 2022 Discussed in #17431 · 2 comments

Comments

@melishev
Copy link

melishev commented Feb 6, 2022

Discussed in #17431

Originally posted by melishev February 6, 2022
I have a repository that has both react and vue installed. When I run start-storybook -c .storybook-vue the console gives me the following message:
Снимок экрана 2022-02-06 в 20 26 01
In this example, I'm starting a Storybook and passing it the configuration for a Vue3 project.

When I try to run the same command on the React config, it gives me the same message that "@storybook/react" was run - and that's the problem.
My project has "@storybook/vue3" and "@storybook/react" installed at the same time. Most likely the Storybook is trying to guess which framework I'm using.

How can I specify start-storybook or anywhere so that it uses the framework I need?

@Tim-arts
Copy link

@ndelangen
Copy link
Member

This should be fixed in 7.0 beta.

The storybook bins have been separated into a @storybook/cli package, which read the main.js files where the framework is defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants