Skip to content

Commit a969985

Browse files
authored
fix minor typo
1 parent c905549 commit a969985

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/docs/en/getting-started/5-upgrade-guide.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ contributors: [rigor789, jlooper]
44
outdated: false
55
---
66

7-
If you scaffolded a NativeScript-Vue app using an the 1.3.1 version of the Vue-CLI template, it's time to upgrade to the newest version, 2.0, and this guide will help you do that. The new template has a different folder structure from the older one:
7+
If you scaffolded a NativeScript-Vue app using the 1.3.1 version of the Vue-CLI template, it's time to upgrade to the newest version, 2.0, and this guide will help you do that. The new template has a different folder structure from the older one:
88

99
![New folder structure](/screenshots/old-new-folder-structure.png)
1010

@@ -46,22 +46,22 @@ To keep the previous behavior of having a single root Frame, you can change your
4646

4747
**Example**
4848

49-
```HTML
49+
```js
5050
// in prior versions
5151
// this automatically created a Page
5252
new Vue({
5353
template: `<Label text="Hello world"/>`
5454
}).$start()
5555
```
5656

57-
```HTML
57+
```js
5858
// in 2.0.0
5959
// the <Frame> and <Page> must exist in your template
6060
new Vue({
6161
template: `
62-
<Frame>
62+
<Frame>
6363
<Page>
64-
<Label text="Hello world"/>
64+
<Label text="Hello world"/>
6565
</Page>
6666
</Frame>
6767
`
@@ -70,14 +70,14 @@ new Vue({
7070

7171
This allows us to use a shared SideDrawer across different pages for example:
7272

73-
```HTML
73+
```js
7474
new Vue({
7575
template: `
7676
<RadSideDrawer>
7777
<StackLayout ~drawerContent>...</StackLayout>
7878
<Frame ~mainContent>
7979
<Page>
80-
<Label text="Hello world"/>
80+
<Label text="Hello world"/>
8181
</Page>
8282
</Frame>
8383
</RadSideDrawer>
@@ -87,7 +87,7 @@ new Vue({
8787

8888
In its simplest form, however, edit `main.js`'s Vue initialization block to resemble:
8989

90-
```HTML
90+
```js
9191
new Vue({
9292
render: h => h('frame', [h(HelloWorld)]),
9393
}).$start();

0 commit comments

Comments
 (0)