Inital path #33796
Replies: 1 comment
-
|
Hi @hua-hua-39372! I'm Dosu and I’m helping the storybook team. Storybook's storySort only affects the sidebar order, not which story is shown first on load. By default, Storybook picks the first entry from its internal index, which is usually alphabetical and does not respect your custom order. This is a limitation in the current implementation. To make Storybook open your "Welcome" story by default, use the CLI flag: Replace For static builds, make sure your hosting setup rewrites or redirects Let me know if you need help finding your story's exact ID or configuring your hosting! To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i have this
storySortbut when i open localhost or deployed storybook, it opens alphabetically first story instead of
Welcomethat is the first story due tostorySortBeta Was this translation helpful? Give feedback.
All reactions