Skip to content

Commit 45c317b

Browse files
author
farfromrefug
committed
chore: demo fix
1 parent 1bb2fac commit 45c317b

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

demo-snippets/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"version": "0.0.1",
55
"dependencies": {
6-
"@nativescript-community/systemui": "*",
6+
"@nativescript-community/ui-label": "*",
77
"vue-class-component": "^7.2.6",
88
"vue-property-decorator": "^8.5.1"
99
},

demo-snippets/vue/install.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import Vue from 'nativescript-vue';
22
import Basic from './Basic.vue';
33

4-
export function installPlugin() {}
4+
export function installPlugin() {
5+
Vue.registerElement('HTMLLabel', () => require('@nativescript-community/ui-label').Label);
6+
7+
}
58

69
export const demos = [{ name: 'Basic', path: 'basic', component: Basic }];

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@
7979
"yarn": ">=1.19.1",
8080
"pnpm": ">=7.0.0",
8181
"node": "^14.20.0 || ^16.13.0 || >=18.10.0"
82-
}
82+
},
83+
"packageManager": "[email protected]+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728"
8384
}

yarn.lock

+2-9
Original file line numberDiff line numberDiff line change
@@ -1476,18 +1476,11 @@ __metadata:
14761476
languageName: node
14771477
linkType: hard
14781478

1479-
"@nativescript-community/systemui@npm:*":
1480-
version: 1.1.23
1481-
resolution: "@nativescript-community/systemui@npm:1.1.23"
1482-
checksum: e2da894bf2912a06f2874bbf799b7f39a46bc5828704c9de937781225c8137d48fe1f4b7bf17084471af9544e34132e0288eec737800371385e6c45d76e54044
1483-
languageName: node
1484-
linkType: hard
1485-
14861479
"@nativescript-community/template-snippet@npm:0.0.1, @nativescript-community/template-snippet@workspace:demo-snippets":
14871480
version: 0.0.0-use.local
14881481
resolution: "@nativescript-community/template-snippet@workspace:demo-snippets"
14891482
dependencies:
1490-
"@nativescript-community/systemui": "npm:*"
1483+
"@nativescript-community/ui-label": "npm:*"
14911484
vue-class-component: "npm:^7.2.6"
14921485
vue-property-decorator: "npm:^8.5.1"
14931486
languageName: unknown
@@ -1500,7 +1493,7 @@ __metadata:
15001493
languageName: node
15011494
linkType: hard
15021495

1503-
"@nativescript-community/ui-label@workspace:packages/label":
1496+
"@nativescript-community/ui-label@npm:*, @nativescript-community/ui-label@workspace:packages/label":
15041497
version: 0.0.0-use.local
15051498
resolution: "@nativescript-community/ui-label@workspace:packages/label"
15061499
dependencies:

0 commit comments

Comments
 (0)