This example demonstrates how to query from GraphCMS with graphql-request
in Next.js.
• Demo
npx degit graphcms/graphcms-examples/with-nextjs with-nextjs
Install & Run:
cd with-nextjs
npm install
npm run dev
# or
cd with-nextjs
yarn
yarn dev
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
This example demonstrates how to query from GraphCMS with graphql-request
in Next.js.
• Demo
npx degit graphcms/graphcms-examples/with-nextjs with-nextjs
Install & Run:
cd with-nextjs
npm install
npm run dev
# or
cd with-nextjs
yarn
yarn dev