Closed jalexw closed 1 year ago
I know @axeldelafosse has an example repo with storybook/expo/next
Yeah! Here it is: https://github.com/axeldelafosse/storybook-rnw-monorepo
The example seems to be outdated because without any additional steps Storybook breaks due to missing router context.
Uncaught Error: NextRouter was not mounted.
To fix this storybook-addon-next-router
comes to a rescue
You’ll need to upgrade to the latest version of solito
Even with 2.1.3 I need to add storybook-addon-next-router
into my Storybook environment.
I am hoping to use Storybook.js to build a component library for a Solito app I am building. Has anyone tried to install Storybook.js into a Solito project with success? The Storybook.js CLI currently does not have Solito as an installation option and I am unsure of whether it is best to manually set up Storybook.js stories in the
apps/next
,apps/expo
orpackages/app
folders.Would love to hear your thoughts on creating a Solito preset in the Storybook.js CLI or your experience installing it in an existing Solito app!