-
Is it possible to create an empty Expo project, install and configure Storybook to import in stories components from another Expo project. That project will be outside of the Storybook's project root folder. I know it can be done with a monorepo, but could it be possible otherwise? I don't want to reorganize files in the existing project and move them in a separate node module as a library. Also want to avoid big changes in the structure of version control. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Yes this is possible and thats what I would recommend for mono repo setups generally The example project in this repo actually includes stories from the ui package and I have a mono repo example I made here: https://github.com/dannyhw/expo-storybook-monorepo-example |
Beta Was this translation helpful? Give feedback.
Yeah this is more like a problem of how expo uses your main field as the entry point of the app. What I have ended up doing is actually making the ui project a separate package from the storybook app then I include the ui library stories in a separate package.
like