Skip to content

Commit 62074fc

Browse files
committed
chore: improved the use of vue3
1 parent f42e400 commit 62074fc

File tree

12 files changed

+805
-1720
lines changed

12 files changed

+805
-1720
lines changed

Diff for: .project

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
</natures>
2323
<filteredResources>
2424
<filter>
25-
<id>1604680591551</id>
25+
<id>1682616481632</id>
2626
<name></name>
2727
<type>30</type>
2828
<matcher>
2929
<id>org.eclipse.core.resources.regexFilterMatcher</id>
30-
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
30+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
3131
</matcher>
3232
</filter>
3333
</filteredResources>

Diff for: demo-ng

Diff for: demo-react

Diff for: demo-svelte

Diff for: demo-vue

Diff for: demo-vue3

Diff for: packages/bottomsheet/tsconfig.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@
99
}
1010
},
1111
"include": ["../../src/bottomsheet/**/*.ts", "../../references.d.ts", "../../tools/references.d.ts", "../../src/references.d.ts"],
12-
"exclude": ["../../src/bottomsheet/angular/**"]
13-
}
12+
"exclude": ["../../src/bottomsheet/angular/**"],
13+
"references": [
14+
{
15+
//Need for tsc
16+
"path": "../../tsconfig.vue3.json"
17+
}
18+
]
19+
}

Diff for: src/bottomsheet/vue3/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { App, createApp } from 'nativescript-vue3';
1+
import { App, createApp } from 'nativescript-vue';
22
import { Frame, View, ViewBase } from '@nativescript/core';
33
import { BottomSheetOptions } from '../bottomsheet';
44
import { ComponentCustomProperties } from '@vue/runtime-core';
55

66
declare module '@vue/runtime-core' {
77
interface ComponentCustomProperties {
8-
$showBottomSheet: (component: any, options: VueBottomSheetOptions) => Promise<any>;
8+
$showBottomSheet(component: any, options: VueBottomSheetOptions): Promise<any>;
99
$closeBottomSheet(...args);
1010
}
1111
}

Diff for: tools

Submodule tools updated 1 file

Diff for: tsconfig.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,11 @@
3838
"@nativescript-community/ui-material-speeddial": ["src/speeddial/index"],
3939
"@nativescript-community/ui-material-speeddial/*": ["src/speeddial/*"],
4040
}
41-
}
41+
},
42+
"references": [
43+
{
44+
//Need for IDE
45+
"path": "./tsconfig.vue3.json"
46+
}
47+
]
4248
}

Diff for: tsconfig.vue3.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"paths": {
6+
"nativescript-vue": ["./node_modules/nativescript-vue3"]
7+
}
8+
},
9+
"include": [
10+
"./src/bottomsheet/vue3",
11+
"./packages/bottomsheet/vue3",
12+
"./demo-snippets/vue3"
13+
]
14+
}

0 commit comments

Comments
 (0)