Quick Start

From local files to live collaboration.

Follow these steps to initialize your React project, build components, and connect them to the visual authoring app.

  1. 1

    Create your project

    Initialize a new file-based Vite project. Choose a starting template — marketing, docs, store and more — or start from nothing.

    $npx uniweb create my-site$cd my-site$pnpm install
    Interactive setup for React, Vite, Tailwind and Uniweb.
  2. 2

    Develop components and schemas

    Open the project in your editor. Build standard React components in the foundation, and define the content schemas that describe what authors can fill in. The dev server picks up new section types with no build or restart.

    $pnpm dev
    Standard Vite dev server on localhost:5173.
  3. 3

    Sync with the visual app

    Create a free account to try the authoring experience. Authenticate, then push your schemas to the cloud to provision a visual workspace for your team.

    $pnpm uniweb login$pnpm uniweb push
    Keeps local files and the cloud database in sync.
  4. 4

    Publish and host

    Ready for production? Host the static build anywhere for free, or publish to Uniweb Cloud for a managed deployment with the live database behind it.

    $pnpm uniweb deploy --host cloudflare
    Or uniweb publish for Uniweb Cloud.

Start with one command.

Everything above runs locally, for free, on your own machine. The cloud is there when your team needs it.

$npx uniweb create site-project --template marketing
Vite + React + Tailwind — ready to go