Next.js example blog project with content managed in Prismic.
Based on the Prismic Next.js Blog Site Example
git clone https://github.com/mikeyrayvon/discipline-nextjs-prismic.git my-project
cd my-project
Create a new repo in Prismic and create Custom Types with the JSON from the custom_types
directory.
Duplicate .env.example
as .env.local
and update the API_ENDPOINT
value with the endpoint from your Prismic repo.
yarn
yarn dev
Then you can access it at http://localhost:3000.