File tree 1 file changed +17
-8
lines changed 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
1
const Vue = require ( './nativescript-vue' )
2
2
3
+ Vue . config . debug = true
4
+ Vue . config . silent = false
5
+
3
6
const App = {
4
7
template : `
5
- <StackLayout>
6
- <Button text="Open page" @tap="openPage" />
7
- </StackLayout>
8
+ <Frame ref="frame">
9
+ <Page>
10
+ <StackLayout>
11
+ <Button text="Open page" @tap="openPage" />
12
+ </StackLayout>
13
+ </Page>
14
+ </Frame>
8
15
` ,
9
16
10
17
methods : {
@@ -16,11 +23,13 @@ const App = {
16
23
17
24
const DetailsPage = {
18
25
template : `
19
- <StackLayout>
20
- <Label :text="'Details ' + Math.random()" />
21
- <Button text="another" @tap="openDetails" />
22
- <Button text="back" @tap="goBack" />
23
- </StackLayout>
26
+ <Page>
27
+ <StackLayout>
28
+ <Label :text="'Details ' + Math.random()" />
29
+ <Button text="another" @tap="openDetails" />
30
+ <Button text="back" @tap="goBack" />
31
+ </StackLayout>
32
+ </Page>
24
33
` ,
25
34
26
35
methods : {
You can’t perform that action at this time.
0 commit comments