Skip to content

Commit 9948a8e

Browse files
author
amars29
committed
updated templates' installing command
1 parent 1f62fa7 commit 9948a8e

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

docs/3.3.x/install-cra.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ The easiest way to get started with NativeBase in create react app is using Nati
1919
### JavaScript
2020

2121
```bash
22-
npx create-react-app my-app --template nativebase
22+
npx create-react-app my-app --template @native-base
2323
cd my-app/
2424
yarn start
2525
```
2626

2727
### TypeScript
2828

2929
```bash
30-
npx create-react-app my-app --template nativebase-typescript
30+
npx create-react-app my-app --template @native-base/typescript
3131
cd my-app/
3232
yarn start
3333
```

docs/3.3.x/install-expo.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Expo helps you to create universal (iOS, Android and Web) React Native apps with
2121
<Box maxWidth="750px">
2222

2323
```bash
24-
expo init my-app --template expo-template-native-base
24+
expo init my-app --template @native-base/expo-template
2525
```
2626

2727
</Box>
@@ -30,7 +30,7 @@ expo init my-app --template expo-template-native-base
3030
<Box maxWidth="750px">
3131

3232
```bash
33-
expo init my-app --template expo-template-native-base-typescript
33+
expo init my-app --template @native-base/expo-template-typescript
3434
```
3535

3636
</Box>

docs/3.3.x/install-rn.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { TileLink } from "../src/components";
2222
<Box maxWidth="750px">
2323

2424
```bash
25-
npx react-native init MyApp --template react-native-template-native-base
25+
npx react-native init MyApp --template @native-base/react-native-template
2626
```
2727

2828
</Box>
@@ -31,7 +31,7 @@ npx react-native init MyApp --template react-native-template-native-base
3131
<Box maxWidth="750px">
3232

3333
```bash
34-
npx react-native init MyApp --template react-native-template-native-base-typescript
34+
npx react-native init MyApp --template @native-base/react-native-template-typescript
3535
```
3636

3737
</Box>

docs/next/install-cra.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ The easiest way to get started with NativeBase in create react app is using Nati
1919
### JavaScript
2020

2121
```bash
22-
npx create-react-app my-app --template nativebase
22+
npx create-react-app my-app --template @native-base
2323
cd my-app/
2424
yarn start
2525
```
2626

2727
### TypeScript
2828

2929
```bash
30-
npx create-react-app my-app --template nativebase-typescript
30+
npx create-react-app my-app --template @native-base/typescript
3131
cd my-app/
3232
yarn start
3333
```

docs/next/install-expo.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Expo helps you to create universal (iOS, Android and Web) React Native apps with
2121
<Box maxWidth="750px">
2222

2323
```bash
24-
expo init my-app --template expo-template-native-base
24+
expo init my-app --template @native-base/expo-template
2525
```
2626

2727
</Box>
@@ -30,7 +30,7 @@ expo init my-app --template expo-template-native-base
3030
<Box maxWidth="750px">
3131

3232
```bash
33-
expo init my-app --template expo-template-native-base-typescript
33+
expo init my-app --template @native-base/expo-template-typescript
3434
```
3535

3636
</Box>

docs/next/install-rn.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { TileLink } from "../src/components";
2222
<Box maxWidth="750px">
2323

2424
```bash
25-
npx react-native init MyApp --template react-native-template-native-base
25+
npx react-native init MyApp --template @native-base/react-native-template
2626
```
2727

2828
</Box>
@@ -31,7 +31,7 @@ npx react-native init MyApp --template react-native-template-native-base
3131
<Box maxWidth="750px">
3232

3333
```bash
34-
npx react-native init MyApp --template react-native-template-native-base-typescript
34+
npx react-native init MyApp --template @native-base/react-native-template-typescript
3535
```
3636

3737
</Box>

0 commit comments

Comments
 (0)