2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-07 12:42:25 +03:00

chore: lint examples

This commit is contained in:
pimlie
2019-03-11 10:47:44 +01:00
parent 73b98b95ad
commit ae8b4f58fa
9 changed files with 49 additions and 81 deletions
+8 -3
View File
@@ -5,11 +5,16 @@ Vue.use(VueMeta)
Vue.component('child', {
name: 'Child',
props: ['page'],
render (h) {
props: {
page: {
type: String,
default: ''
}
},
render(h) {
return h('h3', null, this.page)
},
metaInfo () {
metaInfo() {
return {
title: this.page
}