-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: Cannot load CSF file(.stories file) on MDX when it is placed route group('()') #25114
Comments
Also happening with SvelteKit. Quite annoying, because this practically does not allow stories to be placed alongside components. This requires all of my stories to be placed |
@rChaoz @GoodGoodJM Could you try out Storybook v8.1.0-beta.1 and see if #22545 fixes this issue too?
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@stephiescastle your issue sounds different than this, this issue is specifically about parentheses as part of the path to stories. Could you open a new issue with a reproduction, possibly referencing this comment? It could be a bug because we globally exclude Or it could be because the stories you're referencing are not part of your |
@JReinhold Thanks, I didn't catch the part about the parenthesis. I checked the reasons you mentioned, and I don't believe those are the problem either. Here is the issue I created with a reproduction repo: |
@GoodGoodJM I cloned the repo you linked, then I:
And then storybook opened without any problems I checked if it truly worked by editing |
Could you have a look at if this problem indeed still exists? |
@ndelangen Just checked, the issue seems to be fixed for me on v8.2.6 |
Describe the bug
Cannot load CSF when it is placed in route group.
For example:
It be occured error
After a few attempts, i checked that error occurred if stories were in the route group, regardless of the location of the MDX.
If i move stories file out of group(like
src/routes/temp
), Cannot find any ploblems.To Reproduce
See:
stackblitz
repo
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: