mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-05-21 03:57:58 +03:00
05b8891110
fix: boolean attributes client side
25 lines
303 B
Vue
25 lines
303 B
Vue
<template>
|
|
<div>Test</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
metaInfo() {
|
|
return {
|
|
title: this.title
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
title: 'Hello World',
|
|
htmlAttrs: {
|
|
lang: 'en'
|
|
},
|
|
meta: [
|
|
{ charset: 'utf-8' }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|