Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DUS Website

SvelteKit website with a same-repo Sanity Studio.

Setup

Use the Node version in .nvmrc:

nvm use
npm install

Copy .env.example to .env for local Sanity-backed development:

PUBLIC_SANITY_PROJECT_ID=saoj8gx9
PUBLIC_SANITY_DATASET=production
PUBLIC_SANITY_API_VERSION=2026-06-01
SANITY_STUDIO_PROJECT_ID=saoj8gx9
SANITY_STUDIO_DATASET=production

Developing

npm run dev

Run Sanity Studio locally:

npm run studio:dev

Building

npm run check
npm run build

You can preview the production build with npm run preview.

Vercel

This project uses @sveltejs/adapter-vercel and the local Vercel CLI.

Link this checkout to the existing Vercel project:

npm run vercel:pull

Run the Vercel dev server:

npm run vercel:dev

Deploy a preview:

npm run deploy:preview

Deploy production:

npm run deploy:prod

Set these environment variables in Vercel for preview and production:

PUBLIC_SANITY_PROJECT_ID=saoj8gx9
PUBLIC_SANITY_DATASET=production
PUBLIC_SANITY_API_VERSION=2026-06-01

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages