# Build and edit Vite and React sites with AI

URL: https://xodia.ai/frameworks/vite-react
Description: Edit your Vite and React site visually, or start from the Blank site starter on React Router and Tailwind v4. Click to edit, a Style panel, your AI.
Last updated: 2026-11-13

Full

Bring your own Vite and React site, or start from the Blank site starter, built on Vite, React Router and Tailwind v4. Click to edit text, images and links, style anything in the Style panel and set page titles. Xodia writes clean JSX and classes to your components.

[Start free](https://app.xodia.ai/auth/sign-up?ref=frameworks-vite-react) [Every stack](https://xodia.ai/frameworks)

Free plan. No card needed.

What you edit visually

## React components you can click

Select anything on the preview. Text written as plain JSX is edited in place, and Xodia updates the component that renders it.

- Text, images and links, edited in place in your components
- The Style panel writes Tailwind classes and theme tokens; on plain CSS it edits single-class rules
- Page titles and descriptions on React 19; on older versions your AI sets them in code
- Add elements, the Navigator and Colours and fonts on Tailwind sites

Nothing to install

## How Xodia opens your site without changing it

What click to edit needs is added from outside your repo while the preview runs, and your pushes contain only your own changes.

- Your vite.config, read as it is

  Xodia reads your vite.config without running it and builds the site in your browser with its React and Tailwind plugins, path aliases and VITE_ variables. Your file stays as you wrote it.
- The editor in the preview only

  The preview adds a small script that lets you select and edit elements. It runs only in Xodia's preview, never in your build or on your live site.
- Starters ready to edit

  The Blank site starter comes set up for visual editing from the first click, with fluid type and spacing tokens. Its code is an ordinary git repository, like any other site.

Search engines

## React sites that search engines can read

A React app built only for the browser sends crawlers an almost empty page. Here is what Xodia does about it, and where. See [SEO for React sites](https://xodia.ai/product/seo).

- Starter sites, any host

  Sites made from the Blank site starter or a template build every page as real HTML, with its title, description and text, on Xodia hosting and on Vercel, Netlify or Cloudflare.
- Any site on Xodia hosting

  Put an imported site live on Xodia hosting and Xodia prerenders its pages too, with its sitemap.xml, robots.txt and llms.txt.
- Imported, on your own host

  Your host builds it as it always has, so crawlers get the pages your own build makes. Where Xodia can't write a sitemap and robots.txt for it, Search engines settings say so, and your AI can add them to the code.

Versions and skills

## The versions it covers, and the skills your AI gets

When your AI works on the site, it loads Xodia's skills for this stack, written for the versions below.

- Supported versions

  React single-page sites on Vite, with TypeScript or JavaScript, and the Blank site starter.

  React Router in library mode, as the starter uses it, is supported. React Router framework mode and Remix are refused at import.
- Vite and React skills

  Routes, pages and head tags on any Vite and React site, plus Xodia's template.

  Written for: Vite 5 to 8 with React 18 or 19; Xodia templates (Vite, React Router, Tailwind 4).

Typical setup

## From your repo to your first edit

Import the repo from GitHub. Xodia checks the stack before it creates anything, then builds the site in your browser and opens the editor.

1. Pick the [Blank site starter](https://xodia.ai/start/react-vite) in New project, or import your repo from GitHub or a ZIP
2. Add any environment variables the preview needs in Xodia; VITE_ ones are public, so use public keys only
3. Xodia builds the site in your browser, detects Vite and React and opens the editor
4. Edit, push to a branch, then deploy; your host builds it as it does today

Works with

## Your content and your host, as they are

Xodia detects where the content lives and where the site is hosted, and keeps both.

- Headless CMS Starter and up

  Sanity, Contentful, Storyblok and Prismic. Sanity: Edit entries in the Content tab: drafts to live, publish, unpublish and discard, Portable Text and the media library.
- Content in the repo

  Markdown, MDX, JSON and YAML files, Xodia collections and Decap.
- Hosts Starter and up

  Vercel, Netlify and Cloudflare connect to show the live address, deploys and build logs; GitHub Pages is detected. Your host keeps deploying the site, exactly as it does now.

Primary sources

## Official docs

Updated November 13, 2026

- [Getting started, Vite docs](https://vite.dev/guide/)
- [Learn React, React docs](https://react.dev/learn)
- [Install Tailwind CSS with Vite, Tailwind CSS docs](https://tailwindcss.com/docs/installation/using-vite)

Questions

## Vite and React questions

**Do I need to change my vite.config?**

No. Xodia reads it without running it. If it uses a plugin or a computed setting Xodia can't follow, the import is refused with the line that caused it, before anything is created.

**Who owns a site made from a starter?**

You do. Its code is an ordinary git repository of React, Vite and Tailwind code with nothing proprietary in it, kept in Xodia's code storage, and it stays yours.

**Do I need Tailwind?**

For the full Style panel, yes. Without it you still click to edit text, images and links, and the Style panel edits your rules in plain CSS, CSS Modules and Sass, and styled-components and Emotion styles. See [CSS, Sass and CSS-in-JS](https://xodia.ai/frameworks/css).

**Can I turn an existing website into a React site?**

Yes. Import a website copies the published pages of a site you own, and Make it fully editable converts them to React as a Vite, React and Tailwind project, page by page and without AI. See [Convert a website to React](https://xodia.ai/guides/convert-website-to-react).

**What does it cost?**

Start free with 2 projects, editing the home page plus 4 pages on each, plus their collection pages, with no card. See [pricing](https://xodia.ai/pricing) for every plan.

Keep exploring

## Other stacks

- [HTML sites Plain .html pages built with Vite](https://xodia.ai/frameworks/html)
- [Tailwind CSS A Style panel that writes classes](https://xodia.ai/frameworks/tailwind)
- [CSS, CSS Modules and Sass Class rules edited in your stylesheets](https://xodia.ai/frameworks/css)
- [Every stack What Xodia supports and what you can edit](https://xodia.ai/frameworks)

## Edit your React site the way you see it.

[Start free](https://app.xodia.ai/auth/sign-up?ref=frameworks-vite-react-cta) [See pricing](https://xodia.ai/pricing)
