Skip to content

Gholgot/prismic-nextjs-coffee-sample

Repository files navigation

Integrating Prismic data sources in NextJS

Example website demo that shows how to use NextJS with Prismic.

This sample is introducing Integration Fields a Prismic feature, here is the JSON file we use to simulate an API

Prismic allows you to feature products in your website & campaign pages by connecting Prismic to your existing catalog or custom API

It showcases how a website for a coffee store could be designed and built, as well as the techniques you will have to use to generate pages dynamically when using a Prismic repository as a data source, while also being able to use the preview feature.

Based on the NextJS default starter and uses the prismic-javascript . Refer to its documentation for more details on how to use it.


Intalling Node Modules

npm intall

Running locally

npm run dev

Building

npm run build

Starting

npm start

About

Prismic.io project using NextJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published