The Next quick start project launches a blog app with content from Prepr.
Look at the Next Quick start guide to learn more, or check out the Stackblitz demo for zero installation.
This branch is based on the new next app directory, want to view this project with the pages directory? Switch to the next-pages branch.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:
cp .env.example .env
In the .env file replace <YOUR-ACCESS-TOKEN>
with the Prepr access token from your environment with demo content.
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Check out the deployment documentation for more information.