We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 276a365 + 5cefc8d commit da54b8aCopy full SHA for da54b8a
zh/basic.md
@@ -33,7 +33,7 @@ renderer.renderToString(app, (err, html) => {
33
// => <div data-server-rendered="true">Hello World</div>
34
})
35
36
-// 在 2.5.0+,如果传入回调函数,则会返回 Promise:
+// 在 2.5.0+,如果没有传入回调函数,则会返回 Promise:
37
renderer.renderToString(app).then(html => {
38
console.log(html)
39
}).catch(err => {
0 commit comments