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

faxunil's avatar

Laravel backend & SPA with VUE - SEO how to

Hi! I'm createing a site with Laravel backand API + Vue.js fortontent. Its is nice and quick, but I'm facing with future SEO issues. My question would be what is the best praxis to keep the speed of the Js site but not loosing the Google SEO. Now I tested the page with google tools, and the main content is not loading by google. I don't have nuxt.js only the vue3 was installed and added to the project. Thanx

0 likes
2 replies
bait-dept's avatar
Level 11

Well Nuxt is usually the way to go when wanting SSR but there's an alternative, that is to render the page using a nodejs server and return that for the first load with the js files to re-hydrate the page upon load in the web browser.

I believe it's something called Hybrid rendering.

faxunil's avatar

@imrodrigoalves Thanks. For me is a little bit unclear, how I have to handlte this. Now I have Laravel app and in the resource/js folder I have a working app. I don't understand how I could it "upgrade" to nuxt. It means too that the webserver have also run nodejs server (?) Actually I think it runs apache but node is also insatlled for compiling the vue app actually. I tried to install in separat folder nuxt but it looks at the moment a should use this and deploy this (?) and use only the APIs from the existing project. Thanks for your comments.

Please or to participate in this conversation.