This project was bootstrapped with Create Contentful App.
Execute create-contentful-app with npm, npx or yarn to bootstrap the example:
# npx
npx create-contentful-app --example nextjs
# npm
npm init contentful-app -- --example nextjs
# Yarn
yarn create contentful-app --example nextjs
In the project directory, you can run:
Runs the app in development mode. Open your app to view it in the browser. The page will reload if you make edits.
Builds the app for production to the .next
folder. It correctly bundles Next in production mode and optimizes the build for the best performance. Your app is ready to be deployed!
To make your app look and feel like Contentful use the following libraries:
- Forma 36 – Contentful's design system
- Contentful Field Editors – Contentful's field editor React components
- React Apps Toolkit – Library to simplify build Contentful apps with React
Read more and check out the video on how to use the CLI.