fordeploy react Vite projects build JavaScript on the cloud platform, and pages are cached on fast disks. To compare other frameworks, see the React hosting Guide Deploy nextjs and page Deployment guide .
Last reviewed:6 September 2026
Deploy React and Vite on Deplomo from Git or the CLI. Build automatically, configure environment variables, a domain, and SSL for dashboards and single-page apps. Deploy your React project.
fordeploy react Vite projects build JavaScript on the cloud platform, and pages are cached on fast disks. To compare other frameworks, see the React hosting Guide Deploy nextjs and page Deployment guide .
Last reviewed:6 September 2026
Add the project dependency files, package.json and lockfile to your Git repository. Default build and run commands for this stack:
# Build command
npm ci && npm run build
# Run command
npx serve -s dist -l $PORTVite variables are read at build time and usually have the VITE_ prefix.
curl -fsSL https://get.deplomo.com/install.sh | sh
deplomo login
cd your-project
deplomo deploy
deplomo logsUse the Deplomo CLI to deploy local code directly without pushing it to Git.
On Windows (PowerShell), use irm https://get.deplomo.com/install.ps1 | iex instead of the first command.
Build the React project with a tool such as Vite or Webpack, then publish the dist output on the cloud platform with a web server and caching.
Fallback routing is enabled for React deployments so refreshing a page does not return a 404 error.