prerender-spa-plugin icon indicating copy to clipboard operation
prerender-spa-plugin copied to clipboard

Unable to prerender all routes!

Open todaynogada opened this issue 2 years ago • 2 comments

Unable to prerender all routes! help I am using it integrated with laravle mix. and vue3 qgegeqgegqqeg

    plugins: [
        new PrerenderSPAPlugin({
            staticDir: __dirname, // The path to the folder where index.html is.
            outputDir: path.join(__dirname, 'prerendered'),
            indexPath: path.join(__dirname, 'dist', 'index.html'),
            routes: ['/'],
            renderer: new Renderer({
                injectProperty: "__PRERENDER_INJECTED",
                inject: {
                    prerendered: false,
                },
                renderAfterElementExists: "[ready]",
                headless: true,
                maxConcurrentRoutes: 1,
                ignoreHTTPSErrors: false,
                renderAfterTime: 0,
            }),

        })
    ]

todaynogada avatar Apr 02 '22 00:04 todaynogada

Duplicate of https://github.com/chrisvfritz/prerender-spa-plugin/issues/414, it's not compatible with webpack 5

Tofandel avatar Apr 02 '22 21:04 Tofandel

#414 중복 , webpack 5와 호환되지 않습니다.

tahnk you

todaynogada avatar Apr 02 '22 22:04 todaynogada