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.
1 parent 276a365 commit 5cefc8dCopy full SHA for 5cefc8d
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