diff --git a/src/app.vue b/src/app.vue index fbc8e904..af3f292b 100644 --- a/src/app.vue +++ b/src/app.vue @@ -50,5 +50,11 @@ this.container.style.width = this.width this.container.style.height = this.height } + + mounted() { + this.neko.events.on('connected', () => { + console.log('connected...') + }) + } } diff --git a/src/components/canvas.vue b/src/components/canvas.vue index 6c94edcf..f14e4ec0 100644 --- a/src/components/canvas.vue +++ b/src/components/canvas.vue @@ -1,9 +1,8 @@