#Empty Storybook - No stories are defined in your story files
13 messages · Page 1 of 1 (latest)
Same issue, Storybook is empty.
I mean, there are no stories in this repo: https://github.com/Mithrilhall/react-npm-package/tree/main
That's probably why
wait nvm you have one in the .storybook folder
stories should be next to the component code. I would move it to src
I did and it still says I have No Stories.
going to pull your code and test it out locally
okay, so I spotted several issues:
staticDirs: ['../public'],but there is nopublicdirectory in thedocs: { autodocs: true },but you haven't installed the docs addon or the essentials addon- Not a hard requirement, but your story is using CSF2 syntax. It works but consider switching to CSF3
either remove 1 and 2 or add the directory and addon and it should work