Skip to content

Commit

Permalink
fix: page render not generate style.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi committed Mar 17, 2020
1 parent f37b8a1 commit 038069e
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1,948 deletions.
2 changes: 1 addition & 1 deletion packages/@rcpress/core/lib/node/pageRender/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Render {
const outDir = this.options.outDir;

for (const page of pages) {
const html = await this.renderPage(page, outDir);
const html = await this.renderPage(page);
await this.writeToFile(page, outDir, html);
}

Expand Down
Loading

0 comments on commit 038069e

Please sign in to comment.