-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Allow stories to exist at the same level as nested folders #1859
Comments
It's already implemented and will be released with 3.3 😉 |
I'm closing this issue, 3.3.0-alpha.0 is on npm and can be tested. So if you want to try this now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Picking up on a request made by @psimyn in #151 (comment)
Initially this was one of the first patterns I attempted upon picking up Storybook, and it until I found @psimyn's comment it wasn't very clear why the below pattern didn't work as expected:
Expected: A single
Grid
folder containing some stories for my components, and then a nestedExamples
folder containing some usage examples.Result: Two seperate
Grid
folders.Depending whether we think this is worth supporting ... Even though the example in the docs doesn't at all present the above setup, I think potentially it'd be good to make it clearer in the docs that it can't be done currently. I think it's a pattern that's likely to be commonly assumed by developers when talking about nesting folders; what does everyone think?
View the relevant nesting documentation
The text was updated successfully, but these errors were encountered: