@nativescript/template-blank-vue 9.0.6 → 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 +4 -8
- package/package.json +8 -4
- package/tsconfig.json +26 -0
- package/types/references.d.ts +1 -0
- package/types/shims.vue.d.ts +5 -0
- package/jsconfig.json +0 -10
- /package/app/{app.js → app.ts} +0 -0
package/app/components/Home.vue
CHANGED
|
@@ -10,12 +10,8 @@
|
|
|
10
10
|
</Page>
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return "Blank {N}-Vue app";
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
};
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import { computed } from 'nativescript-vue'
|
|
15
|
+
|
|
16
|
+
const message = computed(() => "Blank {N}-Vue app");
|
|
21
17
|
</script>
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript/template-blank-vue",
|
|
3
|
-
"main": "app/app.
|
|
3
|
+
"main": "app/app.ts",
|
|
4
4
|
"displayName": "Blank",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.8",
|
|
6
6
|
"description": "Blank template for NativeScript apps using Vue.",
|
|
7
7
|
"author": "NativeScript Team <oss@nativescript.org>",
|
|
8
8
|
"license": "Apache-2.0",
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
"hooks",
|
|
24
24
|
"tools",
|
|
25
25
|
"!tools/assets",
|
|
26
|
+
"types",
|
|
26
27
|
".editorconfig",
|
|
27
|
-
"
|
|
28
|
+
"tsconfig.json"
|
|
28
29
|
],
|
|
29
30
|
"keywords": [
|
|
30
31
|
"nstudio",
|
|
@@ -45,7 +46,10 @@
|
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@nativescript/tailwind": "^4.0.0",
|
|
49
|
+
"@nativescript/types": "~9.0.0",
|
|
48
50
|
"@nativescript/webpack": "~5.0.31",
|
|
49
|
-
"
|
|
51
|
+
"@types/node": "^20.0.0",
|
|
52
|
+
"tailwindcss": "^4.0.0",
|
|
53
|
+
"typescript": "~5.8.0"
|
|
50
54
|
}
|
|
51
55
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"strict": true,
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
|
+
"lib": ["dom", "ESNext"],
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"noEmitHelpers": true,
|
|
10
|
+
"importHelpers": true,
|
|
11
|
+
"baseUrl": ".",
|
|
12
|
+
"paths": {
|
|
13
|
+
"~/*": ["app/*"],
|
|
14
|
+
"@/*": ["app/*"]
|
|
15
|
+
},
|
|
16
|
+
"typeRoots": ["types"],
|
|
17
|
+
"types": ["node"],
|
|
18
|
+
"allowSyntheticDefaultImports": true,
|
|
19
|
+
"esModuleInterop": true,
|
|
20
|
+
"experimentalDecorators": true,
|
|
21
|
+
"emitDecoratorMetadata": true,
|
|
22
|
+
"skipLibCheck": true
|
|
23
|
+
},
|
|
24
|
+
"include": ["app", "types"],
|
|
25
|
+
"exclude": ["node_modules", "platforms"]
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference path="../node_modules/@nativescript/types/index.d.ts" />
|
package/jsconfig.json
DELETED
/package/app/{app.js → app.ts}
RENAMED
|
File without changes
|