mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-19 11:40:34 +03:00
17 lines
308 B
TypeScript
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>'
|
|
})
|