Deploy Vite in minutes

Any Vite project — React, Vue, Svelte or vanilla — builds to a static bundle that Darmi Cloud serves from a fast nginx container over HTTPS. Connect GitHub and ship on every push.

Deploy from GitHub Automatic HTTPS subdomain Live build & runtime logs
Step by step

How to deploy Vite

Darmi Cloud has a dedicated React / Vite preset, so there is no configuration to write.

  1. 1

    Sign in with GitHub

    Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.

  2. 2

    Import your repository

    Click New Project, pick your Vite repository, and choose the branch to deploy — the default branch is preselected.

  3. 3

    Select the React / Vite preset

    Choose the React / Vite preset. The commands are prefilled (build: npm run build, start: (served statically by nginx)) — adjust them only if your project differs.

  4. 4

    Add environment variables

    Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.

  5. 5

    Deploy and watch it go live

    Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.

Preset defaults

Preset
React / Vite
Container port
80
Build command
npm run build
Start command
(served statically by nginx)

Tips for Vite on Darmi Cloud

  • The default output directory is dist — change it in project settings if your vite.config sets a custom build.outDir.
  • Expose build-time variables to the client by prefixing them with VITE_.
  • SPA routes are served with a fallback to index.html so client-side routing works on refresh.
FAQ

Vite deployment FAQ

Which Vite frameworks are supported?

Any Vite build works — React, Vue, Svelte, Solid or vanilla. Darmi Cloud runs npm run build and serves the resulting dist folder.

Does client-side routing work after a page refresh?

Yes. Static assets are served with an index.html fallback so deep links and SPA routes resolve correctly.

Can I use my own custom domain?

Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.

Is there a free plan?

Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.

Deploy other frameworks

Ready to deploy your Vite app?

Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.

Deploy Vite now