Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
ios
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

React Native TypeScript Example

Run instructions for Android:
  • Have an Android emulator running (quickest way to get started), or a device connected.
  • cd "/Users/wangchujiang/git-project/@uiw/react-native/AwesomeTSProject" && npx react-native run-android

Run instructions for iOS:
  • cd "/Users/wangchujiang/git-project/@uiw/react-native/AwesomeTSProject" && npx react-native run-ios
  - or -
  • Open AwesomeTSProject/ios/AwesomeTSProject.xcworkspace in Xcode or run "xed -b ios"
  • Hit the Run button

Run instructions for macOS:
  • See https://aka.ms/ReactNativeGuideMacOS for the latest up-to-date instructions.

Create a new TypeScript project:

npx react-native init AwesomeTSProject --template react-native-template-typescript