Onetime Setup
-
Download and Install Visual Studio 2017 Download Link
-
Download and Install Visual Studio Code Download Link
-
Download and Install NodeJS Download Link
-
Install React Native CLI
npm i -g react-native-cli
- Install TypeScript
npm i -g typescript
- Create your project
react-native init --version="0.55.0-rc.0" MyApp --template typescript && node MyApp/setup.js
- Change project directory MyApp
cd MyApp
- Install the React Native Windows CLI Plugin
npm i --save-dev rnpm-plugin-windows
- Run the Windows initialization command
react-native windows --windowsVersion 0.55.0-rc.0
-
Open project MyApp.sln file in Visual Studio
-
Follow the prompts to install the Windows 10 SDK v. 10.0.14393.0
-
If prompted, select Developer Mode in the Settings window under "Use developer features" and approve the Certificate Installation request. Enable "Developer mode" to allow the custom application to run
-
Install windows build tools (run in Windows Power Shell)
npm i -g --production windows-build-tools
- Run your application
react-native run-windows
-
Prompt Windows PowerShell Installing Certificate: Enter Y to install
-
Prompt window: Allow Access to windows firewall