Code no longer showing in each story's canvas #30251
Unanswered
michela-rousseau-mxm
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi there! At my company we recently updated to Storybook 7 (I know, we're a bit behind) and we realized that the way stories are written has changed dramatically. We have highly customized components and we heavily rely on the docs page, which lists everything that concerns the component, from usage, import to all its props as a list of complex stories with interactive canvases written in MDX (one file per component). Since the update, we get "no code available" at the bottom of each story's canvas.
We tested the writing of a story with the utilities provided to aid the migration to the new format and realized it requires a lot of manual work for us (we have lots of components and lots of files), nearly as much as we were re-writing them from scratch. We were just wondering if there's something we're missing to help us speed up the process.
Thank you in advance for any help you may be able to provide!
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions