Built on a starter, using SvelteKit for the frontend and Sanity to handle its content.
Note
This starter features an
/app
and a/studio
folder. The/app
folder contains the frontend code, and the/studio
folder contains the Sanity Studio code.It is configured as a monorepo using pnpm workspaces
Run pnpm install
to install required dependencies for packages/app
and packages/studio
.
You'll also need to connect to a Sanity project, and replace the projectId in the code.
Run pnpm dev
to start both development servers and the TS codegen from the specified sanity schema.
You can deploy the Sveltekit App to production by pushing commits to main (configured via Cloudflare Pages)
To deploy changes to the Sanity schema, run pnpm dlx sanity deploy