A Next.js project
A simple website to view recipes by tags.
- Next.js (React Framework)
- Prismic (headless CMS)
Move into the project folder you want to work on (yarn or npm i
will do nothing here):
cd [project-name]
Install dependencies:
#
yarn
# or
npm i
Serve with hot reload at http://localhost:3000:
yarn dev
# or
npm run dev
Build for production with minification:
yarn build
# or
npm run build
Deploy to staging link via Vercel CLI (will need to install separately):
vercel
Deploy to production:
vercel --prod
For a detailed explanation on how things work, check out Next.js and Prismic.io.