The purpose of this repo is to demonstrate migrating from Pages Router to App Router. We are using PNPM as our package manager, and Sanity as our CMS.
If you would like to use a package manager other than PNPM, feel free! Just update the commmands below to NPM or Yarn.
- Run
pnpm installto install dependencies. - Copy .env.example to .env and set the values with your Sanity configuration.
- Run
pnpx sanity dataset import sanity/seed.ndjsonto add some seed content to your Sanity instance. - Run
pnpm run devto get started developing. - Visit
http://localhost:3000to view your site, andhttp://localhost:3000/studioto use Sanity Studio.