Closed alexgrozav closed 2 years ago
because @storybook/vue3 and @storybook/react will both have the same name under the bin, and both are 'build-storybook scripts', so @storybook/react will override @storybook/vue3。 You can specify the full path to the script when you run it
Didn't know that! Thank you for the help.
I'll close this for now. Hope the solution will help others encountering the same problem.
Describe the bug I have a storybook setup where I'm planning to switch between Vue and React using an environment variable.
If I have both
@storybook/vue3
and@storybook/react
installed, the most recently installed one will always get picked up, no matter what I set the framework config property to.To Reproduce
npm install @storybook/vue3
npm install @storybook/react
framework: '@storybook/vue3
@storybook/react
System