2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 06:40:34 +03:00

test: add e2e tests

fix: boolean attributes client side
This commit is contained in:
pimlie
2019-03-09 17:56:47 +01:00
committed by Alexander Lichter
parent a853ce3de7
commit 05b8891110
36 changed files with 1999 additions and 105 deletions
+34
View File
@@ -0,0 +1,34 @@
<template>
<div>
<hello-world v-if="childVisible"></hello-world>
</div>
</template>
<script>
import HelloWorld from './hello-world.vue'
export default {
components: {
HelloWorld
},
props: {
changed: {
type: Function
}
},
metaInfo() {
return {
changed: this._changed
}
},
data() {
return {
childVisible: false,
_changed: () => {}
}
},
mounted() {
this._changed = this.changed.bind(this)
}
}
</script>