Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

th-km/sanity-sveltekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sanity SvelteKit demo

Sanity

  1. cd studio
  2. npm i
  3. sanity init
  4. Choose reconfigure the studio
  5. Select create new project, and leave the project output path blank
  6. Choose the movie project (schema + sample data)
  7. Add a sampling of sci-fi movies to your dataset
  8. Run sanity start

SvelteKit

  1. cd web
  2. npm i
  3. npm run dev -- --open

Notes

  • CORS Origins issue. Add http://localhost:3000 in your Sanity dashboard > API settings (allow credentials)
  • Requires node 12.5+ (node 14 recommended)

SvelteKit docs

https://kit.svelte.dev/docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published