diff --git a/generator/src/develop.js b/generator/src/develop.js index 9904680d..ba1335c1 100644 --- a/generator/src/develop.js +++ b/generator/src/develop.js @@ -61,7 +61,8 @@ function webpackOptions(routes) { // staticDir: "./dist", staticDir: path.join(process.cwd(), "dist"), // Required - Routes to render. - routes: routes + routes: routes, + renderAfterDocumentEvent: "prerender-trigger" }) ], output: {