You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MUI v5 does not appear in Storybook Docs tab? #28716
I was working on Material UI v4 but after the release of MUI (Material UI V5) I have shifted on that but after shifting I cant see anything on storybook docs tab.
Material-UI (V5)
The issue is present in the latest release.
I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
I Can't see anything on the Storybook docs tab after upgrading to V5.
After doing that you can see a storybook with 2 Button stories. one with the Material UI V4 and one with Material UI v5.
the Story with Material UI v5 do show anything on the docs tab.
thank you.
changed the title [-]After Using Material-UI v5 (MUI) i can't see anything on Storybook Docs tab?[/-][+]MUI v5 does not appear in Storybook Docs tab?[/+]on Oct 3, 2021
Activity
mbrevda commentedon Sep 30, 2021
Possibly pertinent? https://mui.com/guides/migration-v4/#storybook-emotion-with-v5
vikas990 commentedon Oct 1, 2021
I have tried this but after I update .storybook/main.js its keeps on loading even I cant see the stories after updateing.
siriwatknp commentedon Oct 1, 2021
@vikas990 Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
vikas990 commentedon Oct 1, 2021
This is the CodeSandbox example:- https://codesandbox.io/s/cool-alex-dmiri?file=/package.json.
This is the git repository:- https://github.com/vikas990/bug.git
Steps:-
npm installnpm run storybook.After doing that you can see a storybook with 2 Button stories. one with the Material UI V4 and one with Material UI v5.
the Story with Material UI v5 do show anything on the docs tab.
thank you.
siriwatknp commentedon Oct 3, 2021
I tried the repo you provide with these adjustments and it works.
.storybook/preview.js
.storybook/main.js
also this issue is duplicated with #24282 (will update the migration doc)
[-]After Using Material-UI v5 (MUI) i can't see anything on Storybook Docs tab?[/-][+]MUI v5 does not appear in Storybook Docs tab?[/+]vikas990 commentedon Oct 3, 2021
it's working now thank you for the help and for the quick response.