Skip to content
spectivis.com

Spectivis CloudReact

Getting started with the React sample

Deploy a Vite and React single-page app as a static site.

The React sample is a single-page app built with Vite, with client-side routing. It is a static site: Cloud builds it and serves the output from the dist folder. A static site has no instance, so it never sleeps and uses no credit.

  1. Choose a plan if your organization does not have one yet.
  2. Choose New app, then “Deploy a sample”, then React.
  3. Name the app. The name becomes its address and cannot be changed later.
  4. Leave the static preset on and choose Deploy.

Cloud detects Vite, builds the app, and copies dist to its static store. The switch to the new files is atomic, so visitors never see a half-updated site.

Open the site, choose About, then reload the page. It loads. The server has no file called /about, so it sends index.html and the router shows the About page. That is the single-page fallback. It is on by default and you can switch it off in settings.

Next: React on Spectivis Cloud and Static sites.

© 2026 Spectivis Technologies Inc.TermsPrivacyRefundsAcceptable use