Skip to content

AI visibility · Vite + React

My content only renders with JavaScript in Vite + React

Google renders JavaScript. Most AI crawlers do not — GPTBot, ClaudeBot and CCBot read the HTML your server sends and nothing more. To them the page is blank, so nothing on it can ever be quoted or cited. This is the single largest AI-visibility problem a site can have, and it is invisible in every classic SEO tool.

The fix for Vite + React

13x detects your framework from the response and hands you this version rather than the generic one — below 50% confidence it hedges and gives you the generic one instead.

A Vite SPA ships an empty <div id="root">, so AI crawlers see nothing.

The lowest-effort fix that keeps your current stack is build-time prerendering:

bash code
npm i -D vite-plugin-prerender

For a marketing site, moving the public pages to Astro or Next.js is usually less work than retrofitting an SPA — and it fixes titles, metadata and social previews at the same time, all of which have the same root cause.

Verify with:

bash code
curl -s https://example.com | grep -c "<h1"

On a different stack? The general version of this fix explains what 13x checks and why it matters, without assuming a framework.

Check your Vite + React site

113 deterministic checks against your live URL, in about 30 seconds. Framework detected from the response, so every fix comes back in the form your stack actually uses.

No signup. Results in 30 seconds.

The same fix, other stacks