Static by default
How to publish a Slidev site
Slidev builds a deck into a single-page app you can send as a link instead of a file, which is the whole reason to host one.
- Build command
- npm run build
- Folder to upload
- dist
Free plan, free SSL, no credit card.
-
Build the project
Run npm run build in the project folder. This is the step Droply does not do for you: we publish finished pages, we never run your build.
-
Find the output folder
The build writes a finished site to dist. That folder, not the project folder, is what gets uploaded.
-
Drag it in
Drop the folder (or a ZIP of it) into Droply. It is live on an HTTPS droply.id subdomain in seconds, and re-uploading publishes a new version at the same URL.
Worth knowing about Slidev
Build at the root, not under a path.
slidev build --base /talks/name/exists for subfolder hosting and the base must begin and end with a slash; on a Droply subdomain you do not need it.Turn on the Single-page app switch in the site settings if you share a link to a specific slide. The deck routes in the browser, so a deep link is a path with no file behind it.
The speaker notes view and the presenter remote are part of the built output. A published deck is public, so treat the notes as public too.
Did an AI tool build this project?
Hosting an AI-generated website covers the question that comes before the build command: whether what you are holding is a single file or a project, and which of the two every tool actually hands back.