Example website demo that shows how to use the gatsby-source-prismic
plugin.
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 and release features.
For more information, refer to the official Prismic and Gatsby documentation.
#
A deployment demo is available in Netlify: https://gatsby-coffee-demo.netlify.com/ #
npm install -g prismic-cli
navigate where you want to create your new project folder and run the following command:
prismic theme --theme-url https://github.com/prismicio/prismic-gatsby-coffee-sample --conf prismic-configuration.js
This will create a new Prismic content repository, set up the custom types, create a few documents, and install the project code.
gatsby develop
Your site should now be running locally at http://localhost:8000! #
gatsby build
gatsby serve