Running CLI command to install storybook using npm create ignores type option #33036
Replies: 2 comments
-
|
Hi @DavidHaasz! I'm Dosu and I’m helping the storybook team. The current Storybook CLI ( To set up Storybook for vanilla JavaScript/HTML, you can use this workaround:
This will scaffold Storybook using the If you want to use other frameworks not shown in the default prompt, try the same pattern with the Let me know if you need steps for a specific setup or if you run into any issues! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
This is fixed in the latest 10.1 release! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
So in the StoryBook CLI Documentation mentions the command
create storybook[@version] [options]used for creating new Storybook projects. There is the argument--typewhich refers to the supported frameworks and clicking the links gives you the following listbut when try to run
npm create storybook@latest --type htmlthe type is ignore and am only given one of 5 options a fraction of what is documented.Is there something I am doing wrong? Is their a way to use alternate frameworks with the latest version of this command or do I have to go back to an earlier version
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions