Skip to content

Commit 8369ab5

Browse files
committed
Typescript Support is complete
Updated Readme left to be done
1 parent 24005aa commit 8369ab5

22 files changed

+357
-382
lines changed

generator/index.js

Lines changed: 128 additions & 158 deletions
Large diffs are not rendered by default.

generator/templates/simple/without-nvw/app/App.android.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929

3030
export default {
3131

32-
data () {
32+
data() {
3333
return {
34-
navbarTitle: 'App.android.vue'
34+
navbarTitle: 'App.android.vue',
3535
};
3636
},
3737
methods: {
38-
goToHomePage () {
38+
goToHomePage() {
3939
this.$navigateTo(Home);
4040
},
41-
goToAboutPage () {
41+
goToAboutPage() {
4242
this.$navigateTo(About);
43-
}
44-
}
43+
},
44+
},
4545
};
4646

4747
</script>
@@ -52,19 +52,19 @@
5252

5353
export default {
5454

55-
data () {
55+
data() {
5656
return {
57-
navbarTitle: 'App.android.vue'
57+
navbarTitle: 'App.android.vue',
5858
};
5959
},
6060
methods: {
61-
goToHomePage () {
61+
goToHomePage() {
6262
(this as any).$navigateTo(Home);
6363
},
64-
goToAboutPage () {
64+
goToAboutPage() {
6565
(this as any).$navigateTo(About);
66-
}
67-
}
66+
},
67+
},
6868
};
6969

7070
</script>
@@ -76,19 +76,19 @@
7676

7777
export default {
7878

79-
data () {
79+
data() {
8080
return {
81-
navbarTitle: 'App.android.vue'
81+
navbarTitle: 'App.android.vue',
8282
};
8383
},
8484
methods: {
85-
goToHomePage () {
85+
goToHomePage() {
8686
this.$navigateTo(Home);
8787
},
88-
goToAboutPage () {
88+
goToAboutPage() {
8989
this.$navigateTo(About);
90-
}
91-
}
90+
},
91+
},
9292
};
9393

9494
</script>
@@ -100,19 +100,19 @@
100100

101101
export default {
102102

103-
data () {
103+
data() {
104104
return {
105-
navbarTitle: 'App.android.vue'
105+
navbarTitle: 'App.android.vue',
106106
};
107107
},
108108
methods: {
109-
goToHomePage () {
109+
goToHomePage() {
110110
(this as any).$navigateTo(Home);
111111
},
112-
goToAboutPage () {
112+
goToAboutPage() {
113113
(this as any).$navigateTo(About);
114-
}
115-
}
114+
},
115+
},
116116
};
117117

118118
</script>

generator/templates/simple/without-nvw/app/App.ios.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929

3030
export default {
3131

32-
data () {
32+
data() {
3333
return {
34-
navbarTitle: 'App.ios.vue'
34+
navbarTitle: 'App.ios.vue',
3535
};
3636
},
3737
methods: {
38-
goToHomePage () {
38+
goToHomePage() {
3939
this.$navigateTo(Home);
4040
},
41-
goToAboutPage () {
41+
goToAboutPage() {
4242
this.$navigateTo(About);
43-
}
44-
}
43+
},
44+
},
4545
};
4646

4747
</script>
@@ -52,19 +52,19 @@
5252

5353
export default {
5454

55-
data () {
55+
data() {
5656
return {
57-
navbarTitle: 'App.ios.vue'
57+
navbarTitle: 'App.ios.vue',
5858
};
5959
},
6060
methods: {
61-
goToHomePage () {
61+
goToHomePage() {
6262
(this as any).$navigateTo(Home);
6363
},
64-
goToAboutPage () {
64+
goToAboutPage() {
6565
(this as any).$navigateTo(About);
66-
}
67-
}
66+
},
67+
},
6868
};
6969

7070
</script>
@@ -76,19 +76,19 @@
7676

7777
export default {
7878

79-
data () {
79+
data() {
8080
return {
81-
navbarTitle: 'App.ios.vue'
81+
navbarTitle: 'App.ios.vue',
8282
};
8383
},
8484
methods: {
85-
goToHomePage () {
85+
goToHomePage() {
8686
this.$navigateTo(Home);
8787
},
88-
goToAboutPage () {
88+
goToAboutPage() {
8989
this.$navigateTo(About);
90-
}
91-
}
90+
},
91+
},
9292
};
9393

9494
</script>
@@ -100,19 +100,19 @@
100100

101101
export default {
102102

103-
data () {
103+
data() {
104104
return {
105-
navbarTitle: 'App.ios.vue'
105+
navbarTitle: 'App.ios.vue',
106106
};
107107
},
108108
methods: {
109-
goToHomePage () {
109+
goToHomePage() {
110110
(this as any).$navigateTo(Home);
111111
},
112-
goToAboutPage () {
112+
goToAboutPage() {
113113
(this as any).$navigateTo(About);
114-
}
115-
}
114+
},
115+
},
116116
};
117117

118118
</script>

generator/templates/simple/without-nvw/app/App.native.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929

3030
export default {
3131

32-
data () {
32+
data() {
3333
return {
34-
navbarTitle: 'App.native.vue'
34+
navbarTitle: 'App.native.vue',
3535
};
3636
},
3737
methods: {
38-
goToHomePage () {
38+
goToHomePage() {
3939
this.$navigateTo(Home);
4040
},
41-
goToAboutPage () {
41+
goToAboutPage() {
4242
this.$navigateTo(About);
43-
}
44-
}
43+
},
44+
},
4545
};
4646

4747
</script>
@@ -52,19 +52,19 @@
5252

5353
export default {
5454

55-
data () {
55+
data() {
5656
return {
57-
navbarTitle: 'App.native.vue'
57+
navbarTitle: 'App.native.vue',
5858
};
5959
},
6060
methods: {
61-
goToHomePage () {
61+
goToHomePage() {
6262
(this as any).$navigateTo(Home);
6363
},
64-
goToAboutPage () {
64+
goToAboutPage() {
6565
(this as any).$navigateTo(About);
66-
}
67-
}
66+
},
67+
},
6868
};
6969

7070
</script>
@@ -76,19 +76,19 @@
7676

7777
export default {
7878

79-
data () {
79+
data() {
8080
return {
81-
navbarTitle: 'App.native.vue'
81+
navbarTitle: 'App.native.vue',
8282
};
8383
},
8484
methods: {
85-
goToHomePage () {
85+
goToHomePage() {
8686
this.$navigateTo(Home);
8787
},
88-
goToAboutPage () {
88+
goToAboutPage() {
8989
this.$navigateTo(About);
90-
}
91-
}
90+
},
91+
},
9292
};
9393

9494
</script>
@@ -100,19 +100,19 @@
100100

101101
export default {
102102

103-
data () {
103+
data() {
104104
return {
105-
navbarTitle: 'App.native.vue'
105+
navbarTitle: 'App.native.vue',
106106
};
107107
},
108108
methods: {
109-
goToHomePage () {
109+
goToHomePage() {
110110
(this as any).$navigateTo(Home);
111111
},
112-
goToAboutPage () {
112+
goToAboutPage() {
113113
(this as any).$navigateTo(About);
114-
}
115-
}
114+
},
115+
},
116116
};
117117

118118
</script>

generator/templates/simple/without-nvw/app/components/HelloWorld.android.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
export default {
1212
name: 'HelloWorld',
1313
props: {
14-
msg: String
15-
}
14+
msg: String,
15+
},
1616
};
1717

1818
</script>
@@ -21,8 +21,8 @@
2121
export default {
2222
name: 'HelloWorld',
2323
props: {
24-
msg: String
25-
}
24+
msg: String,
25+
},
2626
};
2727

2828
</script>

generator/templates/simple/without-nvw/app/components/HelloWorld.ios.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
export default {
1212
name: 'HelloWorld',
1313
props: {
14-
msg: String
15-
}
14+
msg: String,
15+
},
1616
};
1717

1818
</script>
@@ -21,8 +21,8 @@
2121
export default {
2222
name: 'HelloWorld',
2323
props: {
24-
msg: String
25-
}
24+
msg: String,
25+
},
2626
};
2727

2828
</script>

generator/templates/simple/without-nvw/app/components/HelloWorld.native.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
export default {
1212
name: 'HelloWorld',
1313
props: {
14-
msg: String
15-
}
14+
msg: String,
15+
},
1616
};
1717

1818
</script>
@@ -21,8 +21,8 @@
2121
export default {
2222
name: 'HelloWorld',
2323
props: {
24-
msg: String
25-
}
24+
msg: String,
25+
},
2626
};
2727

2828
</script>

generator/templates/simple/without-nvw/app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Vue.config.silent = false;
2525
<%# END_REPLACE %>
2626

2727
<%# REPLACE %>
28-
(h) => h('frame', [h(App)])
28+
(h) => h('frame', [h(App)]),
2929
<%# END_REPLACE %>
3030

3131
<%# REPLACE %>

0 commit comments

Comments
 (0)