@native-base/react-native-template-typescript
Version:
The base template for React-Native TypeScript with NativeBase.
14 lines (8 loc) • 682 B
Markdown
# React Native Template With NativeBase Typescript
## Usage
```sh
npx react-native init MyApp --template @native-base/react-native-template-typescript
```
### Note on the legacy CLI
There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy `react-native-cli` first (`npm uninstall -g react-native-cli`), for the below command to work. If you wish to not use `npx`, you can also install the new CLI globally (`npm i -g @react-native-community/cli` or `yarn global add @react-native-community/cli`).
Further information can be found here: https://github.com/react-native-community/cli#about