Skip to content

Commit

Permalink
fix: ssr-vue prerender need input rootDir parameter (#5740)
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoqhmdt authored Nov 18, 2021
1 parent 04016df commit 8dbc17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/ssr-vue/prerender.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const routesToPrerender = fs
;(async () => {
// pre-render each route...
for (const url of routesToPrerender) {
const [appHtml, preloadLinks] = await render(url, manifest)
const [appHtml, preloadLinks] = await render(url, manifest, __dirname)

const html = template
.replace(`<!--preload-links-->`, preloadLinks)
Expand Down

0 comments on commit 8dbc17a

Please sign in to comment.