Closed jonhuteau closed 4 years ago
cc @ndelangen
Seeing the same.
Ooh-la-la!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.0-alpha.44 containing PR #10292 that references this issue. Upgrade today to try it out!
You can find this prerelease on the @next
NPM tag.
Can confirm it's fixed in v6.0.0-alpha.44
. Thanks a lot !
Describe the bug
After upgrading from
6.0.0-alpha.28
to6.0.0-alpha.29
, it looks like all my default URLs of stories are wrong.When I navigate between stories, I have
http://localhost:6006/?path=/story/packages-ui-box
even if in my MDX I defineviewMod
todocs
(should be/docs/packages-ui-box
).Set
addParameters({ viewMode: 'docs' })
inpreview.js
doesn't seem to fix this.Expected behavior
I'd like to render docs page instead of story one by default.
Code snippets
System: