Which folder do I upload?
Built with Lovable, Bolt, Vite, Next.js or Astro? Upload the finished site folder, not the project. Find yours by tool and see what Zipped.dev fixes.
Tools that build websites make two kinds of folders. The project holds the code you or an AI builder edit. The finished site is what the tool creates when you run its build step. Zipped.dev hosts the finished site.
If you upload the whole project, Zipped.dev tries to find the finished site inside it for you. That works in most cases, but uploading the right folder yourself is faster and avoids surprises.
How to tell which folder is the finished site
The finished site has a file named index.html right at its top, next to folders like assets or static. The project folder usually has package.json and a src folder instead.
The usual folder name for each tool
These are the default names. A project can change them, so if yours is different, look for the folder that holds index.html.
| Tool | Build step | Upload this folder |
|---|---|---|
| Lovable, Bolt, Vite (React, Vue, Svelte, Solid) | npm run build |
dist |
| Create React App | npm run build |
build |
| Next.js | static export (see below) | out |
| Astro | npm run build |
dist |
| Nuxt | npx nuxt generate |
.output/public |
| SvelteKit with the static adapter | npm run build |
build |
| Angular | ng build |
dist/your-app/browser (older versions: dist/your-app) |
| Vue CLI, Parcel, Webpack, Ember | npm run build |
dist |
| Remix in SPA mode | npm run build |
build/client |
| Quasar (SPA) | quasar build |
dist/spa |
| Gatsby | gatsby build |
public |
| Docusaurus | npm run build |
build |
| VitePress | npm run docs:build |
.vitepress/dist |
| Eleventy, Jekyll | npx @11ty/eleventy, jekyll build |
_site |
| Hugo | hugo |
public |
| MkDocs | mkdocs build |
site |
| Storybook | npm run build-storybook |
storybook-static |
Folders whose names start with a dot, like .output, can be hidden on your computer. On a Mac press Shift + Command + . in the file picker to show them.
Apps that need a server
Some tools build apps that make their pages on a server when someone visits. Zipped.dev hosts finished pages only, so these will not work as they are. The telltale signs are folders called .next, server, or dist/server and no index.html.
Ask your builder or tool for a static export or single-page app build:
- Next.js: set
output: "export"in the Next.js config, then build. The folder isout. - Nuxt: use
nuxt generateinstead ofnuxt build. - SvelteKit: use the static adapter.
- Remix and TanStack Start: use their SPA mode.
- AI builders: ask for “a static build I can host on any static host”.
Prompt to copy into your AI tool
If an AI tool (Lovable, Bolt, Cursor, ChatGPT, Claude and others) built your site, paste this into it. It makes the tool hand you the finished site folder instead of the whole project.
I want to publish this website on Zipped.dev, a host for finished static websites. Please prepare it for upload.
1. Build the site as plain static files: HTML, CSS, JavaScript, images and fonts. Zipped.dev cannot run a server, so do not use server-side rendering, API routes, PHP or a database. If the framework needs a setting for this, use its static export (for example output: "export" in Next.js, or the static adapter in SvelteKit and Astro).
2. Run the build command, then find the folder it creates. It is usually called dist, build, out or public.
3. Upload only the contents of that build folder. Do NOT include src, node_modules, .git, .env files, config files, test files or the source code. Passwords and keys must never be in a website.
4. Put index.html at the top of the build folder, so it is the home page.
5. Use paths that start with / or are relative (like /images/logo.png). Do not use file:// paths or paths on your own computer.
6. Keep every file to a type Zipped.dev hosts: pages, scripts, styles, images (png, jpg, webp, avif, gif, svg), fonts (woff, woff2, ttf, otf), mp4 or webm video, mp3 audio, PDFs. Programs, installers and archives are not hosted.
7. Keep the site small: compress large images and remove files the pages do not use.
8. When done, tell me the exact folder to upload (or zip that folder's contents, not the folder itself), and list anything you could not make static.
Uploading by hand
- Run the build step for your tool, so the finished site folder exists.
- Open that folder and check that
index.htmlis at its top. - Drag the folder into the upload area, or zip the folder and drag the ZIP. Either works.
- If your site is Markdown files, see Markdown pages instead.
You do not need node_modules, src, package.json or any config files. Leaving them out keeps the upload small.
What Zipped.dev fixes for you
| What we find | What we do |
|---|---|
Your site is inside one folder (dist, build, or the project folder) |
We use that folder as your site and leave out files outside it |
| Both a project template and a build folder | We use the build folder |
One page and no index.html |
We make that page your home page |
| More than one possible site folder | We show the folders and ask you to pick one before you publish |
Folders named src, templates, test and similar are never treated as the site.
After publishing, a note may tell you about things we could not fix: fonts or images in a type we do not host, a project that was never built, an app that needs a server, or a missing home page. Each note says what to do next.
Related
- Upload files: size limits.
- Supported file types: what is hosted and what is left out.
- Edit files: change a live site without uploading again.