This app demonstrates use of react-native to create project which use react-navigation and run on win10 development system.
- Clone repository
git clone https://github.com/rajnishc8/Week1-T1-windows-RNA
cd Week1-T1-windows-RNA
npm install
react-native run-windows
- react-native init Week1-T1-windows-RNA
- cd Week1-T1-windows-RNA
2a.) npm install --save react-navigation
2b.) npm install --save react-native-vector-icons <- run this from admin command prompt.
2c.) npm install
2d.) react-native link <- do this after installing all npm packages.
-
npm install --save-dev rnpm-plugin-windows
-
npm install react-native@0.50 <-- rnpm-plugin-windows(react-native-windows@0.50.0-rc.2) only works with react-native@0.50 at the moment. It may not be required later.
-
react-native windows
-
react-native run-windows
-
Your app should be running now on windows! if you get "red screen" . wait for Metro Bundler to start. just keep on pressing 'Reload Javascript" button until Metro builder start's.
-
Update app.windows.js to change code.
-
react-native run-windows