Build
npm run buildGenerate production-ready static files with your framework.
Build your single-page app, upload the production bundle, and publish it on a managed HTTPS subdomain in under a minute.
Three explicit steps. No server provisioning, DNS configuration, or certificate setup.
npm run buildGenerate production-ready static files with your framework.
dist.zipPackage the contents so index.html sits at the archive root.
HTTPS · LiveUpload from the dashboard and publish to your dedicated subdomain.
Deploy a production SPA bundle built with Vite or another client-side build tool. Every application route falls back to index.html so browser routing keeps working.
React SPAs built with Vite
Vue SPAs built with Vite
Client-rendered Svelte applications
Fast production bundles for modern SPAs
Every deployment receives a secure pocketbasecloud.com subdomain.
Deep links resolve to index.html for React Router and Vue Router apps.
Connect directly to your PocketBase API over HTTPS from the browser.
The portal upload has a one-command equivalent. One deploy runs your build, zips the output, uploads it, and waits for the site to come up.
pb cloud frontend lsevery site and its statuspb cloud frontend deploy --env stagingship the staging copypb cloud environmentswhat this directory targetspb cloud frontend domain addattach your own domainThe first deploy records the site in pb.json, so every deploy afterwards is just pb cloud frontend deploy — no flags.
Read the frontend docsBuild locally, upload once, and let PocketBase Cloud handle hosting, HTTPS, and routing.