@nativescript/template-blank-vue-ts 9.0.7 → 9.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/Home.vue +11 -21
- package/package.json +1 -1
package/app/components/Home.vue
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<Page>
|
|
3
|
+
<ActionBar>
|
|
4
|
+
<Label text="Home"/>
|
|
5
|
+
</ActionBar>
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<GridLayout>
|
|
8
|
+
<Label class="text-xl align-middle text-center text-gray-500" :text="message" />
|
|
9
|
+
</GridLayout>
|
|
10
|
+
</Page>
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
|
-
<script lang="ts">
|
|
14
|
-
|
|
15
|
-
computed: {
|
|
16
|
-
message() {
|
|
17
|
-
return "Blank {N}-Vue app";
|
|
18
|
-
}
|
|
19
|
-
},
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import { computed } from 'nativescript-vue'
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
logMessage() {
|
|
23
|
-
console.log('You have tapped the message!')
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
};
|
|
16
|
+
const message = computed(() => "Blank {N}-Vue app");
|
|
27
17
|
</script>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nativescript/template-blank-vue-ts",
|
|
3
3
|
"main": "app/app.ts",
|
|
4
4
|
"displayName": "Blank Vue Typescript",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.8",
|
|
6
6
|
"description": "Blank Typescript template for NativeScript apps using Vue.",
|
|
7
7
|
"author": "NativeScript Team <oss@nativescript.org>",
|
|
8
8
|
"license": "Apache-2.0",
|