Skip to Content

Create your first app

Scaffold the full template, run it and make your first edit.

npx create-signet-app@latest my-app --template full
cd my-app
npm install
npm run dev

full needs Bun 1.3+ installed, even when npm or pnpm installs it: run dev is a Bun script.

Scaffold

The first command above makes my-app with the editorial theme. The directory must not exist or be empty.

Install and run

install, then run dev. The API and Vite start together.

Open the app

Open http://localhost:5173. Sign in with any phone number; the code prints in your terminal.

Make your first edit

Change the CardTitle on line 17 (it starts as Hello). The page reloads on save.

src/routes/_app/index.tsx
import { CardTitle } from "@dapplelight/signet-ui/components/card"

<CardTitle>Welcome to my app</CardTitle>