The problem
Sites built as single-page apps (React, Vue and similar) often send the browser an almost empty HTML file and build the page with JavaScript. Google can render JavaScript, but may do it later than the initial crawl. Many other crawlers, including most AI crawlers, read the raw HTML only, so they see no content, no titles and no links.
The fixes
- Prerendering or static generation: build the HTML for each page in advance, so every crawler gets the full content.
- Server-side rendering: generate the HTML on the server per request.
- Make sure each page's title, description, canonical tag and structured data are in that HTML, not added later.
How to check
View the page source (not the inspector) or fetch it with a tool like curl. If the text you see in the browser isn't in the raw HTML, crawlers that don't run JavaScript can't see it either.
In practice
Run "curl -s https://yourdomain.com/your-service-page" or use a "view rendered vs. raw HTML" tool. If the response contains only an empty div and script tags, crawlers that don't run JavaScript see nothing. Prerendering the site at build time is often the least disruptive fix for an existing React or Vue site.

