How do I delete the example components and stories that come with a fresh Storybook install? #23736
Replies: 2 comments
-
That's strange that it crashes, most folks delete the directory with the examples. |
Beta Was this translation helpful? Give feedback.
-
is there a chance you can post the code online? i can speak to the "stories by the same name in different directories" thing tho… if you use the if you want to defer to file-system-based "categories", you can delete the just remember that one of those has to be present — either i prefer |
Beta Was this translation helpful? Give feedback.
-
I'm new to Storybook (and React in general). I've just installed Storybook 7.2.1 into my Create React App project and have fired it up. It works well, however I am having 2 issues:
If I delete any of the example story or component files Storybook will just crash. If I clear Node cache and rebuild Storybook I get the following error in my Terminal:
Would anyone know what I need to do to proceed?
Beta Was this translation helpful? Give feedback.
All reactions