2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-13 02:52:25 +03:00
Files

17 lines
308 B
TypeScript

import { defineComponent } from 'vue'
export default defineComponent({
data () {
return {
title: 'Data Title'
}
},
metaInfo () {
const title = this.title
return {
title: title + ' from Options API'
}
},
template: '<div>This component uses the Options API</div>'
})