Skip to content

Commit 87a1719

Browse files
committed
test: demo apps
1 parent eef69c0 commit 87a1719

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

demo-vue/app/examples/Shapes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class Simple extends Vue {
5656
arcWidth = Math.min(Screen.mainScreen.widthDIPs, Screen.mainScreen.heightDIPs) - 40;
5757
density = Screen.mainScreen.scale;
5858
antiAlias = true;
59-
hardwareAccelerated = true;
59+
hardwareAccelerated = false;
6060
static title: 'Shapes Example';
6161
mounted() {}
6262
onBack() {

demo-vue/app/main.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Vue.use(CanvasPlugin);
88
// console.log('registering example', comp.component.name);
99
// Vue.component(comp.component.name, comp);
1010
// }
11-
Vue.config.silent = false;
11+
Vue.config.silent = true;
1212
Vue.config['debug'] = true;
1313

1414
Vue.config.errorHandler = (e, vm, info) => {
@@ -21,7 +21,5 @@ Vue.config.warnHandler = function(msg, vm, trace) {
2121
console.log('registering all, ready to start');
2222

2323
new Vue({
24-
render: h => {
25-
return h('frame', [h(Home)]);
26-
}
24+
render: h => h('frame', [h(Home)])
2725
}).$start();

demo-vue/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@
55
"repository": "http://www.github.com/Akylas/@nativescript-community/ui-canvas.git",
66
"main": "main.js",
77
"dependencies": {
8-
"@akylas/nativescript":"7.0.3-alpha.4",
8+
"@akylas/nativescript": "7.0.3-alpha.4",
99
"@nativescript-community/perms": "2.1.1",
1010
"@nativescript-community/ui-canvas": "file:../plugin",
1111
"@nativescript/webpack": "3.0.4",
1212
"nativescript-tween": "0.0.10",
1313
"nativescript-vue": "^2.8.1"
1414
},
1515
"devDependencies": {
16-
"@nativescript/core": "7.0.3",
1716
"@babel/core": "^7.11.6",
18-
"tns-ios": "6.5.2",
17+
"@nativescript/android": "7.0.0",
18+
"@nativescript/core": "7.0.3",
1919
"@nativescript/types": "7.0.3",
2020
"babel-loader": "^8.1.0",
2121
"nativescript-vue-template-compiler": "2.8.1",
22+
"tns-ios": "6.5.2",
2223
"typescript": "^3.9.7",
2324
"vue": "^2.6.12",
2425
"vue-loader": "^15.9.3",

demo-vue/pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)