Skip to main content

Export React Native (Beta)

React Native Project​

Folder Structure​

Export Code Button

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
      • ...

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​

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