mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 12:50:34 +03:00
Lint file
This commit is contained in:
+2
-1
@@ -32,7 +32,8 @@ const vm = new Vue({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const html = renderer.renderToString(vm, function (err, html) {
|
renderer.renderToString(vm, function (err, html) {
|
||||||
|
if (err) throw err
|
||||||
console.log('Title', vm.$meta().inject().title.text())
|
console.log('Title', vm.$meta().inject().title.text())
|
||||||
console.log('HTML', vm.$meta().inject().htmlAttrs.text())
|
console.log('HTML', vm.$meta().inject().htmlAttrs.text())
|
||||||
console.log('Meta', vm.$meta().inject().meta.text())
|
console.log('Meta', vm.$meta().inject().meta.text())
|
||||||
|
|||||||
Reference in New Issue
Block a user