Skip to content

Can I configure Storybook in a separate Expo project? #649

Answered by dannyhw
ptrtdrv asked this question in Q&A
Discussion options

You must be logged in to vote

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

  • apps/
    • actual-app (installs the 'ui' package)
    • storybook-app (main.ts has ../../packages/ui as the location of stories)
  • packages
    • ui/ (stories and component files go here)

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ptrtdrv
Comment options

@dannyhw
Comment options

@ptrtdrv
Comment options

@dannyhw
Comment options

Answer selected by ptrtdrv
@ptrtdrv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants