|
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. |
Answered by
dannyhw
Nov 20, 2024
Replies: 1 comment 8 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 |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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