Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Abonive's avatar

Vue 2 + Webpack - Components not rendering in Google Page Insights

So i have a problem with L5.3 + Vue2 + Webpack. I just started brand new project and i'm trying Vue2+Webpack, standard welcome view with the example component to test. In Browser it works perfect, when i run Google Page Insights the example component is gone.

I have some projects with L5.2 + Vue1 + Browserify and they do render inside the Google Page Insights. So im worried that google doesn't index vue2 + webpack. Because big part of my project is vue based.

Any thought how to get vue2 + webpack components rendered and indexed with google when used inside laravel?

0 likes
2 replies
ejdelmonico's avatar

My guess would be that the vue instance or components are not present when page insights scans.

gdespirito's avatar

You can use something like prerender.io anyway. Take a look.

Please or to participate in this conversation.