For developers and startups

Your Lovable, Bolt or Vite site works in the browser but is empty for Google and ChatGPT

An empty <div id="root"> in the HTML: which pages show their text only after JavaScript, and what to render on the server.

See also: Vibe-coded app not indexed by Google: compare raw HTML and JavaScript on every route

  • Lovable
  • Bolt
  • Vite
  • React

Apps built with Lovable, Bolt or a plain Vite React setup render the page in the browser. The HTML the server sends is often just <div id="root"></div>, so a crawler that does not run JavaScript sees no text, links or headings. Google can render later; many AI crawlers and link previews never do.

Open the page and press Ctrl+U (View source). If you see only an empty <div id="root"> and script tags, and none of the words on the page, the text exists only after JavaScript.

01

Raw against rendered, on every page

The JavaScript tab counts the words in the raw HTML and after JavaScript for each page, and lists the pages whose text appears only after JavaScript.

02

What JavaScript changes

Pages where the title, H1, description, canonical or meta robots change after JavaScript, and internal links that exist only after it.

03

The routes to fix first

Sort by words in the raw HTML to see which routes need server rendering or prerendering, instead of guessing from one page.

GLLmolfar screenshot: JavaScript tab
In the screenshot: JavaScript tab

The ten-second check as a command you can run against any route:

# what Google and AI crawlers get before JavaScript runs
curl -s https://your-app.example | grep -o '<div id="root"></div>'

# the words a visitor sees after JavaScript: open DevTools > Elements;
# if the first command prints a match and the page has text, the text
# exists only after JavaScript
Doesn't Google run JavaScript?
It renders pages, later and not always completely. Many AI crawlers and link preview bots read only the HTML the server sends.
Do I have to leave Lovable or Vite?
No. Prerender the public routes at build time or move them to server rendering; the app part can stay client-side.
Does GLLmolfar need my code?
No. It reads the live site, or a local build, the way a crawler does.

Check the whole site, not one page

GLLmolfar crawls on your computer and checks every page the way search engines and AI crawlers read it.

See GLLmolfar