@nativescript/template-blank-vue-ts 9.0.7 → 9.0.9

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.
@@ -1,27 +1,19 @@
1
1
  <template>
2
- <Page>
3
- <ActionBar>
4
- <Label text="Home" class="font-bold text-lg"/>
5
- </ActionBar>
2
+ <Frame>
3
+ <Page>
4
+ <ActionBar>
5
+ <Label text="Home"/>
6
+ </ActionBar>
6
7
 
7
- <GridLayout>
8
- <Label class="text-xl align-middle text-center text-gray-500" :text="message" @tap="logMessage" />
9
- </GridLayout>
10
- </Page>
8
+ <GridLayout>
9
+ <Label class="text-xl align-middle text-center text-gray-500" :text="message" />
10
+ </GridLayout>
11
+ </Page>
12
+ </Frame>
11
13
  </template>
12
14
 
13
- <script lang="ts">
14
- export default {
15
- computed: {
16
- message() {
17
- return "Blank {N}-Vue app";
18
- }
19
- },
15
+ <script setup lang="ts">
16
+ import { computed } from 'nativescript-vue'
20
17
 
21
- methods: {
22
- logMessage() {
23
- console.log('You have tapped the message!')
24
- }
25
- }
26
- };
18
+ const message = computed(() => "Blank {N}-Vue app");
27
19
  </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.7",
5
+ "version": "9.0.9",
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",