Super bare-bones single page starter (WIP)
yarn create next-app [project-name] -e https://github.com/er1chu/next-sanity-tailwind-motion
# or
npx create-next-app [project-name] -e https://github.com/er1chu/next-sanity-tailwind-motion
Run yarn
or npm install
Run cd studio && sanity init
and select Y
to reconfigure the project.
Replace projectId
and dataset
in client.ts
with the correct values from sanity.json
Run yarn dev
or npm run dev
in root folder.