2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-06 19:42:27 +03:00
Files
vue-meta/test/fixtures/basic/App.vue
T
pimlie 05b8891110 test: add e2e tests
fix: boolean attributes client side
2019-03-12 10:03:46 +01:00

22 lines
392 B
Vue

<template>
<div id="app">
<h1>Basic</h1>
<router-view></router-view>
<p>Inspect Element to see the meta info</p>
</div>
</template>
<script>
export default {
metaInfo: {
meta: [
{ vmid: 'charset', charset: 'utf-8' }
]
},
mounted() {
this.$router.afterEach((to, from) => this.$emit('routeChanged', to, from))
window.$vueMeta = this
}
}
</script>