Documentation

Search documentation

Try deployment, Codex, or data access.

    Browse documentation

    Deploy a React frontend

    Deploy a compiled React frontend and check deep links, build-time environment settings and the separate API origin.

    On this page

    Locate the static output

    Inspect the package build script. A typical Vite project runs npm run build and writes dist. Confirm those values in the actual project and select the resulting directory. Browser configuration is visible to visitors, so use a server endpoint for calls requiring confidential credentials.

    Test navigation and API access

    Open the deployed root, follow a client-side route and refresh that deep link directly. Verify the host’s single-page fallback if routing needs it. Submit a test record to the configured API and confirm it permits the deployed origin and enforces the user’s authorization.