Skip to content

bqfan/AwesomeStorybook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storybook Web Storybook iOS Storybook Android

getting started

git clone https://github.com/bqfan/AwesomeStorybook AwesomeStorybook
pnpm install

app

pnpm start

RN Storybook (ondevice)

In 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:android

If 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-generate

Web

Start react native web storybook:

pnpm storybook:web

build react native web storybook:

pnpm build-storybook

About

React Native and ReactJS Storybook template for web and ondevice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published