Used vue.js with laravel and my site is not SEO friendly anymore
I implemented vue.js on my site for pagination and filter. Now I realize that the page loads with filters and the data is fetched via AJAX. Do a view source and AJAX content is not displayed. This affects the site indexing and ability to rank.
I do not want to go for SSR. What could be my options here?
Should I ditch vue.js?
15 comments
[ 2.1 ms ] story [ 54.9 ms ] threadIf you want good SEO ditch SPA. If you want SPA and SEO you must have both - client-side rendering and server-side rendering.
SSR and SPA aren't mutually exclusive. Vue.js supports the ability to server-side render and hydrate the HTML with your SPA once it has loaded. It's the best of both worlds.
https://ssr.vuejs.org/