Skip to content

Commit 273da34

Browse files
committed
Updating template paths
1 parent 935dab5 commit 273da34

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h4 class="exercise-start">
128128
<p><strong>TIP:</strong></p>
129129
<ul>
130130
<li>The “angular-end” branch has the final state of this guide&#39;s tutorial. Feel free to <a href="https://github.com/NativeScript/sample-Groceries/tree/angular-end">refer to the branch on GitHub</a> if you get stuck.</li>
131-
<li>After completing this guide, if you’d like to start a new NativeScript and Angular 2 app—one that doesn’t clone Groceries—you can use the NativeScript CLI’s <code>tns create</code> command as such:<pre><code>tns create my-app-name --template https://github.com/NativeScript/template-hello-world-ng
131+
<li>After completing this guide, if you’d like to start a new NativeScript and Angular 2 app—one that doesn’t clone Groceries—you can use the NativeScript CLI’s <code>tns create</code> command as such:<pre><code>tns create my-app-name --template tns-template-hello-world-ng
132132
</code></pre></li>
133133
</ul>
134134
</blockquote>
@@ -1759,8 +1759,8 @@ <h3 id="join-the-nativescript-community">Join the NativeScript community</h3>
17591759
</ul>
17601760
<h3 id="start-your-own-app">Start your own app</h3>
17611761
<p>Although you’re welcome to use Groceries as the basis of your own app, if you want to start a new app from scratch, the NativeScript CLI provides a number of built-in starting points. For example, you can start a new “hello world” app by running the <code>tns create</code> command:</p>
1762-
<pre><code>tns create my-app-name --template https://github.com/NativeScript/template-hello-world-ng
1763-
</code></pre><p>If you want to start from a slightly more complete starting point, the <code>tns create</code> command also has a <code>--template</code> option that lets you start from a variety of pre-built templates. For instance, the following command creates a NativeScript project with tab navigation already setup:</p>
1762+
<pre><code>tns create my-app-name --template tns-template-hello-world-ng
1763+
</code></pre><p>If you want to start from a slightly more complete starting point, the <code>tns create</code> command also has additional values you can use with the <code>--template</code> option. For instance, the following command creates a NativeScript project with tab navigation already setup:</p>
17641764
<pre><code>tns create MyNextGreatApp --template tns-template-tab-navigation
17651765
</code></pre><blockquote>
17661766
<p><strong>TIP</strong>: A number of other templates are available to use with the <code>--template</code> option, including TypeScript templates and more. Refer to <a href="https://www.tjvantoll.com/2016/02/22/creating-nativescript-templates/">the full list of official templates</a> at any time.</p>

src/chapters/chapter1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ git checkout angular-start
6868
> * The “angular-end” branch has the final state of this guide's tutorial. Feel free to [refer to the branch on GitHub](https://github.com/NativeScript/sample-Groceries/tree/angular-end) if you get stuck.
6969
> * After completing this guide, if you’d like to start a new NativeScript and Angular 2 app—one that doesn’t clone Groceries—you can use the NativeScript CLI’s `tns create` command as such:
7070
> ```
71-
> tns create my-app-name --template https://github.com/NativeScript/template-hello-world-ng
71+
> tns create my-app-name --template tns-template-hello-world-ng
7272
> ```
7373
7474
### Add target development platforms

src/chapters/chapter7.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Regardless of what you choose to do next with NativeScript, joining the NativeSc
1515
Although you’re welcome to use Groceries as the basis of your own app, if you want to start a new app from scratch, the NativeScript CLI provides a number of built-in starting points. For example, you can start a new “hello world” app by running the `tns create` command:
1616

1717
```
18-
tns create my-app-name --template https://github.com/NativeScript/template-hello-world-ng
18+
tns create my-app-name --template tns-template-hello-world-ng
1919
```
2020

21-
If you want to start from a slightly more complete starting point, the `tns create` command also has a `--template` option that lets you start from a variety of pre-built templates. For instance, the following command creates a NativeScript project with tab navigation already setup:
21+
If you want to start from a slightly more complete starting point, the `tns create` command also has additional values you can use with the `--template` option. For instance, the following command creates a NativeScript project with tab navigation already setup:
2222

2323
```
2424
tns create MyNextGreatApp --template tns-template-tab-navigation

0 commit comments

Comments
 (0)