Lovable

Why AI search can't see your Lovable app

Lovable builds a Vite + React app. The HTML it deploys is an empty div.

What is happening

Lovable ships a Vite + React single-page app. The file your server sends is a shell: a <div id="root"> and a script tag. Your content appears only once that script runs in the visitor's browser.

GPTBot, ClaudeBot, PerplexityBot and CCBot fetch your HTML and read what is in it. They do not run your bundle. So the page they see is the page before your app exists.

What Lovable actually deploys

Publishing runs the Vite build and serves the output as static files from a Lovable subdomain, or from your own domain on a paid plan. There is no server rendering step in that pipeline: whatever ends up inside index.html at build time is the whole of what a crawler gets, and everything else is assembled by the bundle afterwards.

How to check it yourself, in ten seconds

curl -s https://your-app.lovable.app/ | grep -c "<h1"

A result of 0 means a crawler finds no heading on your page. That is what we measure, across thirty checks.

The fix for Lovable

Ask Lovable to put the home page's heading, opening paragraphs and navigation into index.html as static HTML, inside the root element. React replaces it on hydration, so visitors see no difference, but a crawler reading the raw HTML finds your words.

What to change in Lovable

  1. Put the words in index.html

    Lovable will edit index.html when you ask it to. The heading, the first two paragraphs and the main navigation links, placed inside the root element, cost nothing at runtime: React discards them when it mounts. They are the difference between a crawler reading your pitch and reading an empty element.

  2. Decide what one set of tags should say

    A Vite build has a single index.html, so every route you add serves the same title and description. Tags swapped in by a head-management component are written after the fetch and no crawler sees them. Until a route is rendered on the server, write those tags for the page that matters most and accept that the others inherit it.

  3. Keep Supabase out of the first paint

    A Lovable app usually reads its content from Supabase in the browser with the anon key. That request happens after the page loads, so anything it returns is invisible to a crawler. Copy the handful of sentences that describe the product into the markup instead of fetching them, and leave the database for what genuinely needs an account.

  4. Use the GitHub sync as an escape hatch

    Connect the project to GitHub and it is an ordinary Vite repository. That opens the fixes the editor cannot do for you: a prerender step in the build, a sitemap generated from your route list, or moving the public pages to a framework that renders them on the server.

Worth knowing about Lovable

  • The editor preview is not the test

    The preview inside Lovable has already run your JavaScript, so it always looks complete. Judge the published URL with curl, never the preview pane.

  • Two addresses for one app

    If you have attached a custom domain and the lovable.app address still answers, the same pages exist twice. Pick the one you want ranked and make every canonical point at it.

What we measured on Lovable sites

From 1,517 public Lovable sites scanned with the same checks this page describes. Aggregates only: no site is named.

40
median score out of 100, across 1,517 sites
56%
capped as unreadable, of 1,517 sites
2
median words in the HTML before JavaScript runs
  • 83%
    There is no llms.txt, so an engine has to work out the shape of the site by itself. 83% of 1,517 sites, against 39% across the other builders
  • 40%
    The same page answers at more than one address and nothing says which address is the real one. 40% of 1,517 sites, against 6% across the other builders
  • 34%
    Deep URLs return the same shell as the home page rather than the page they name. 34% of 1,517 sites, against 4% across the other builders
  • 50%
    The HTML carries no landmarks marking where the main content begins. 50% of 1,517 sites, against 32% across the other builders
  • 39%
    The page carries too little text for an answer to be built out of it. 39% of 1,517 sites, against 22% across the other builders

How to fix these in Lovable ↓

Lovable questions

Does Lovable generate a sitemap or robots.txt?
Not as part of the build. Anything in the public folder is copied to the deployed site as-is, so a sitemap.xml and a robots.txt you write by hand will be served, and they have to be updated by hand as routes are added.
Will adding static HTML to index.html break the React app?
No. React replaces the contents of the root element when it mounts, so markup you place inside it is shown for the moment before hydration and then swapped for the real component tree. Visitors see what they saw before; a crawler now sees something.

Scan your Lovable app

Free, no account. You get the full checklist and your score.

Only scan sites you own or are authorised to scan. Free scans are limited. Terms

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Three ways in

Start free. Pay only if you want the fixes written out for you.

01

Free

See what they see

The full checklist, your score, and the two worst problems explained in full. Everything else is listed but locked.

€0

Instant, on screen

Scan free

02

Do it yourself

Runbook

A PDF that walks through every fix: robots.txt templates, prerender setup per builder, JSON-LD you can paste, llms.txt. Yours to keep, with updates.

€9.99

Download straight away

Payments are handled by Stripe; businesses can add a VAT ID at checkout.