This is a quick way to get started with everything you need in place.
./example/
project bootstraped with haul-cli. You can usenpm link <package-name>
to get livesync while developing.- Storybook setup in
example
project if you have more than one component to work on.
cd example
yarn install
npm link ../
yarn run storybook
react-native run-ios
You'd need to make changes in
package.json
- change name to the name of your component.example/package.json
- add your package todependencies
, so it will get synced after you link it.
You should see storybook UI in the simulator and changes from src/index.js
will automatically apply. 😻
Cheers:)