Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.63 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.63 KB

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