2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-17 02:30:34 +03:00
Files
vue-meta/test/fixtures/keep-alive.vue
T
2019-02-09 21:45:22 +01:00

29 lines
399 B
Vue

<template>
<div>
<keep-alive>
<hello-world v-if="childVisible"></hello-world>
</keep-alive>
</div>
</template>
<script>
import HelloWorld from './hello-world.vue'
export default {
components: {
HelloWorld
},
metaInfo() {
return {
title: this.title,
}
},
data() {
return {
childVisible: true,
title: 'Alive World'
}
}
}
</script>