For Vite

Put your  Vite site online  with one sentence.

heyweb recognises a Vite project, runs the build and puts the dist folder online. Whether your client can edit the content depends on where the text is.

Add heyweb to your agentSee how it works

TL;DR

To host a Vite site on heyweb, open the project in your coding agent and paste the heyweb setup line. heyweb recognises Vite, runs the build on its own build machine and puts the dist folder online at an address like your-site.heyweb.page. A client can edit texts that are in the built HTML, not ones the browser fills in.

Vite builds two kinds of site

Vite is a build tool. It takes the HTML, CSS and JavaScript of a project and writes an optimised copy into a folder named dist. Vite has no server part, so whatever it builds is a set of static files, and heyweb can host it.

What is in those files differs. A site of HTML pages, with Vite bundling the styles and scripts, comes out as pages with their text in them. A single-page app, the usual React or Vue project, comes out as one nearly empty index.html, and the browser builds the page from JavaScript.

From your project to a live address

Three steps, and none before you paste. Your coding agent does the typing.

  1. Step 1: Paste one sentence into your agent

    Open the folder of your Vite project in your coding agent and send this sentence. You do not have to sign up first.

    Set up heyweb from app.heyweb.ai/start and put this site online.
  2. Step 2: Connect when the agent asks

    The agent installs the heyweb program and runs it. Your browser opens heyweb: sign in with your email address and the code you get by email, check that the agent shows the same short code and press Connect.

  3. Step 3: Get your address

    heyweb builds the site, and the agent replies with an address like your-site.heyweb.page. The site appears in your heyweb account.

Vite on heyweb, in short

What the heyweb program finds in your project and what it does with it.

With heyweb
How it is recognised“vite” among the packages in package.json
What builds the siteYour project’s own build script (npm run build) if it has one, otherwise npx vite build
Folder that goes onlinedist
Where it is builtOn a heyweb build machine with Node.js, started fresh for every build
PackagesInstalled from your lock file with npm, pnpm or yarn
Preview on your computerYour project’s own dev script if it has one, otherwise npx vite
Client edits by chatFor text in the built HTML (early access), not for text the browser fills in

The settings are written to heyweb.json in your project: “publish” is the folder, “build” the command, “dev” the preview. Your agent can change them there.

Before you publish

If your Vite config writes to another folder than dist, your agent changes “publish” in heyweb.json. You do not build the site yourself: heyweb builds from your source every time, with your project’s own build script when it has one.

A single-page app usually handles its addresses in the browser. heyweb serves the index.html of such an app for those addresses too, so a reload or a shared link to /about works. heyweb runs no code on a server: an app that talks to an API or a database of its own keeps doing that from the browser.

Paste this into your agent.

Set up heyweb from app.heyweb.ai/start and put this site online.

Free until a site goes live. Then $12 a month per site, plus tax.

What your client can change

It depends on where the text is. On pages that have their text in the built HTML, your client changes it by chat like on any static site: heyweb writes the change into your source, builds the site again and checks that only content changed.

On a single-page app there is nothing in the page for the chat to change, because the text is in JavaScript. heyweb sees that when the site goes online and tells your agent that nothing on the page can be edited by chat. The site is hosted all the same.

If your client should keep the content up to date, ask your agent to build the pages as static HTML: plain HTML, Astro or Eleventy. More in let a client edit a static website.

What is ready today

Hosting at a heyweb.page address, setup through your coding agent, the history and undo work today. Sites with a build step are part of early access, and so are the client chat, inviting clients and your client’s own domain.

heyweb is tested with Claude Code, Codex and Cursor, and works with any agent that can run a command on your computer. Building and previewing a site is free. A live site costs $12 per month plus tax, see pricing.

Common questions

How do I host a Vite site?

Paste the heyweb setup sentence into your coding agent in the Vite project. heyweb recognises Vite, builds the site, and the agent replies with an address like your-site.heyweb.page. The sentence is on add heyweb to your agent.

Can I host a React or Vue app built with Vite?

Yes, as files. heyweb builds the project and serves the dist folder, and addresses the app handles in the browser lead to its index.html. Your client cannot edit its content by chat, because a single-page app keeps its text in JavaScript.

Can my client edit a Vite site by chat?

Texts that are in the built HTML, yes; the client chat is in early access. Texts the browser fills in from JavaScript, no.

Do I have to run vite build myself?

No. heyweb builds the site from your source on its own build machine, with your project’s build script or with npx vite build.

My project uses Astro, SvelteKit or Nuxt, which run on Vite. Which page is mine?

The one of your framework. heyweb looks for those before it looks for Vite: see Astro, SvelteKit and Nuxt.

Is Vite support ready today?

Sites with a build step, Vite included, are part of early access, and so is the client chat. Hosting at a heyweb.page address, setup through your agent, the history and undo work today.

What does it cost?

Building a site and previewing it at its heyweb.page address is free. A live site costs $12 per month, plus tax, with editing by chat included; the details are on the pricing page.

Keep reading

Publish the next one by saying so.

Add heyweb to your agentSee how it works

Paste this into your agent.

Set up heyweb from app.heyweb.ai/start and put this site online.
  1. Paste it
  2. Connect with your email
  3. Your site is online

Free until a site goes live. Then $12 a month per site, plus tax. How setup works