Skip to content

What is “the folder”?

This is the question that trips everyone up. Let’s settle it once and for all.

Someone handed you a folder that already contains an index.html, some images, a .css file… Nothing to transform: that’s your folder. Go to A ready-made website.

How can you tell? Open the folder. If you see a file called index.html right inside it, you’ve got the right one.

Modern tools (React, Vite, Next, Astro…) don’t keep the finished site lying around. They keep the working files, and create the finished site on demand. That step is called “building”. It produces a brand-new folder: the only one you upload.

Depending on the tool, the finished folder has a different name:

You (or your developer) use…Command to buildFolder to uploadGuide
A ready-made HTML site(none)the folder itself
Vite (React, Vue, Svelte…)npm run builddist
Create React Appnpm run buildbuild
Next.js (static export)npm run buildout
Astronpm run builddist
Not surelet’s figure it out

You upload the folder that has an index.html right inside it. If that index.html doesn’t exist yet, the project needs to be built first.

Hosted on Bailey