Open florian-sanders-cc opened 4 months ago
Currently, we cannot use relative links to reference stories / docs.
This is mainly related to the fact that the production app relies on the /doc/clever-components path.
/doc/clever-components
This forces us to use hard coded absolute links to the prod storybook instead.
Investigate solutions to create links that would work both in dev and prod.
It looks like it should be covered by the links addon that is part of addons automatically installed with Storybook: https://storybook.js.org/addons/@storybook/addon-links
Context
Currently, we cannot use relative links to reference stories / docs.
This is mainly related to the fact that the production app relies on the
/doc/clever-components
path.This forces us to use hard coded absolute links to the prod storybook instead.
Investigate solutions to create links that would work both in dev and prod.