mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-07 12:12:25 +03:00
Favor function syntax over per-attribute function syntax
This commit is contained in:
@@ -9,9 +9,9 @@ Vue.component('child', {
|
||||
render (h) {
|
||||
return h('h3', null, this.page)
|
||||
},
|
||||
metaInfo: {
|
||||
title () {
|
||||
return this.page
|
||||
metaInfo () {
|
||||
return {
|
||||
title: this.page
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user