Export React Native (Beta)
React Native
Projectβ
Folder Structureβ
folder structure of source code
- package.json: dependency of npm
- assets: images
- src
- components: major react-native components
- posize: posize library
- Card.js -> Card Component
- Card.module.scss -> Card scss
- ...
- components: major react-native components
Live coding and debuggingβ
Before export the code, you can use pxcode app Android and iOS to preview the react native result via QRCode generated by pxcode preview link
Installationβ
- install nodejs
installation
npm install
expo to preview
npm start
use expo app Android or iOS to scan the QRcode to preview
live coding after ejecting
npm run eject
build ios
npm run ios
build android
npm run android
live coding and debuggin
npm start