Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit 4a3204f

Browse files
author
Sebastien Chopin
committed
Lint file
1 parent 0fead22 commit 4a3204f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/ssr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const vm = new Vue({
3232
}
3333
})
3434

35-
const html = renderer.renderToString(vm, function (err, html) {
35+
renderer.renderToString(vm, function (err, html) {
36+
if (err) throw err
3637
console.log('Title', vm.$meta().inject().title.text())
3738
console.log('HTML', vm.$meta().inject().htmlAttrs.text())
3839
console.log('Meta', vm.$meta().inject().meta.text())

0 commit comments

Comments
 (0)