This repository is a SvelteKit project scaffolded with the Svelte CLI. It uses the minimal template with TypeScript enabled as a starting point for building the Better Auth UI. Tailwind CSS is configured via the Svelte CLI add-on.
Install project dependencies with pnpm:
pnpm install
Start a local development server at http://localhost:5173:
pnpm run dev
Run SvelteKit's check to validate types and generated routes:
pnpm run check
Create an optimized production build:
pnpm run build
Preview the production build locally:
pnpm run preview
pnpm run test:unit -- --run
pnpm run test:e2e
If Playwright browsers are missing locally, install them once with:
pnpm exec playwright install --with-deps
http://localhost:6006:pnpm run storybook
storybook-static/):pnpm run storybook:build
Auth/SignedIn story demonstrates how protected content renders only when a session is present.