mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-21 10:10:33 +03:00
test: add e2e tests
fix: boolean attributes client side
This commit is contained in:
committed by
Alexander Lichter
parent
a853ce3de7
commit
05b8891110
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user