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
I am not able to change the landing page of my storybook. I have tried everything I have found online. Is there a link to the documentation to do this? I'm on version 8.5.8
Reproduction link
NA
Reproduction steps
No response
System
npx storybook@latest info
Additional context
No response
The text was updated successfully, but these errors were encountered:
So you can create an MDX docs page and sort it to the top. Does that satisfy your use case?
Thanks, this solved my issue.
Solution:
storySort: (a, b) => {
// Ensure 'get-started--docs' comes first
if (a.id === 'get-started--docs') return -1; // a comes first
if (b.id === 'get-started--docs') return 1; // b comes first
// Otherwise, perform a regular comparison
return a.id.localeCompare(b.id, undefined, { numeric: true });
}
Describe the bug
I am not able to change the landing page of my storybook. I have tried everything I have found online. Is there a link to the documentation to do this? I'm on version 8.5.8
Reproduction link
NA
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: