2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-11 08:12:24 +03:00

test: add render tests

fix: webpack dev server

chore: use eslint not prettier

unfeat: remove support for comments (its brokenn in Vue, maybe later)
This commit is contained in:
pimlie
2020-07-26 00:11:28 +02:00
parent 28d3fc1923
commit 27aaf4744a
80 changed files with 2785 additions and 12109 deletions
+10 -10
View File
@@ -8,17 +8,17 @@ Vue.component('child', {
props: {
page: {
type: String,
default: '',
},
},
render(h) {
return h('h3', null, this.page)
},
metaInfo() {
return {
title: this.page,
default: ''
}
},
render (h) {
return h('h3', null, this.page)
},
metaInfo () {
return {
title: this.page
}
}
})
new Vue({
@@ -28,5 +28,5 @@ new Vue({
<p>Inspect Element to see the meta info</p>
<child page="This is a prop"></child>
</div>
`,
`
}).$mount('#app')