Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] How to run storybook on simulator / device? #1

Open
conor909 opened this issue Mar 30, 2021 · 1 comment
Open

[docs] How to run storybook on simulator / device? #1

conor909 opened this issue Mar 30, 2021 · 1 comment

Comments

@conor909
Copy link

conor909 commented Mar 30, 2021

Hi thanks for this great resource, you mention "It's running on the web! It also runs on my iPhone", under the screenshot at the end of this tutorial.

But how do you do that? Either on Simulator or connected device?

@conor909 conor909 changed the title How to run storybook on simulator / device? [docs] How to run storybook on simulator / device? Mar 31, 2021
@soulfresh
Copy link

@conor909 Did you ever find an answer to your question?

For anyone else who finds this, I had to create an additional workspace for the native storybook where I installed @storybook/react-native at version 5.3. I also had to add a "nohoist": ["@storybook/core"] rule in that package so I could install storybook 5.3 along side storybook 6.x (for the web side of things). It also needs the expo-yarn-workspaces setup similar to the other packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants