Demo site with gatsby-source-prismic?

Hi,

I would like to compare Lighthouse score of gatsby-source-prismic to my current set up (gatsby-source-prismic-graphql).

I wonder if there is a starter site that I could clone, instead of figuring out how to set this up:

For example “Providing JSON schemas” are a bit confusing.

Thanks

Hey Anton, we are currently working on having a Demo with the gatsby-source-prismic plugin, so it isn’t released just yet. But we’ll give updates when it’s ready.

About the Providing JSON schemas part, you’re right that maybe it’s isn’t super clear there.

You just need to create a directory where they tell you to and create one file per Custom type in your repo, then in those files you just need to paste the JSON of each Custom type, you find these in your repository > Custom types, open any Custom type and click on the JSON editor tab, copy that JSON and paste in your file, and so on!

1 Like