DEV Community

mungaben
mungaben

Posted on

set up sanity in next13 >

*create next app *-npx create-next-app@latest
navigate project folder

  • add install npm install next-sanity @sanity/client @portabletext/react @sanity/image-url -run npx sanity init configure it

setting sanity in next13 with app router
it creates -studio page -entry to embedded studio
-.env file
- sanity folder with client and schemas
next13 project1 setup afterrunning npx sanity init

Top comments (0)