Skip to content

Commit 104207b

Browse files
author
Justin Toth
authored
chore: update template name (NativeScript#1941)
Change the outdated tns-template-blank-ng (which uses Angular 8) to be @nativescript/template-blank-ng (which uses Angular 11).
1 parent 9c271d6 commit 104207b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/start/cli-basics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ Open your terminal or command prompt and run the following command to create a n
2424

2525
{% nativescript %}
2626
```
27-
tns create HelloWorld --template tns-template-blank
27+
tns create HelloWorld --template @nativescript/template-blank-ng
2828
```
2929

30-
Here you’re passing two things to the `create` command: `HelloWorld` which determines the name of the app you’re creating, and the `--template` option, which tells the NativeScript CLI to scaffold an app using a predefined template named “tns-template-blank”.
30+
Here you’re passing two things to the `create` command: `HelloWorld` which determines the name of the app you’re creating, and the `--template` option, which tells the NativeScript CLI to scaffold an app using a predefined template named “@nativescript/template-blank-ng”.
3131
{% endnativescript %}
3232
{% angular %}
3333
```
34-
tns create HelloWorld --template tns-template-blank-ng
34+
tns create HelloWorld --template @nativescript/template-blank-ng
3535
```
3636

37-
Here you’re passing two things to the `create` command: `HelloWorld` which determines the name of the app you’re creating, and the `--template` option, which tells the NativeScript CLI to scaffold an app using a predefined template named “tns-template-blank-ng”.
37+
Here you’re passing two things to the `create` command: `HelloWorld` which determines the name of the app you’re creating, and the `--template` option, which tells the NativeScript CLI to scaffold an app using a predefined template named “@nativescript/template-blank-ng”.
3838
{% endangular %}
3939

4040
> **TIP**: You can use the `tns create` command to scaffold apps at a [variety of different starting points](https://market.nativescript.org/?tab=templates&category=all_templates). To try other templates, run `tns create` _without_ the `--template` option; the NativeScript CLI will walk you through selecting a template using interactive prompts.

0 commit comments

Comments
 (0)