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 becd639 commit 76a2fe4Copy full SHA for 76a2fe4
content/1.getting-started/3.usage.md
@@ -40,7 +40,7 @@ You can use the `pretty` option to beatify the output.
40
import { MyTemplate } from './email';
41
import { render } from '@vue-email/render';
42
43
-const html = render(MyTemplate,{
+const html = await render(MyTemplate,{
44
title: 'some title',
45
},{
46
pretty: true,
@@ -73,7 +73,7 @@ Here’s how to convert a Vue component into plain text.
73
74
75
76
-const text = render(MyTemplate, {
+const text = await render(MyTemplate, {
77
78
}, {
79
plainText: true,
0 commit comments