git clone https://github.com/bqfan/AwesomeStorybook AwesomeStorybookpnpm installpnpm startIn this template you can now run pnpm storybook to start ondevice storybook or pnpm start to start your expo app.
This works via env variables and expo constants.
# either
pnpm storybook
# ios
pnpm storybook:ios
# android
pnpm storybook:androidIf you add new stories on the native (ondevice version) you either need to have the watcher running or run the stories loader
To update the stories one time
pnpm storybook-generateStart react native web storybook:
pnpm storybook:web
build react native web storybook:
pnpm build-storybook