Open joseph-cloudthing opened 5 years ago
It's not needed, page components are automatically wrapped by default. If you want customized control, you can use the HOC.
https://github.com/birkir/gatsby-plugin-prismic-preview/blob/master/src/gatsby-browser.tsx#L15-L20
But anyway the readme section is really lacking, and contributions are accepted. Thanks.
edit btw, this plugin is not in active development at the moment (accepting all PR's however), all my focus is on the gatsby-source-prismic-graphql plugin, which has much better docs, support and stability.
The README contains:
but the example folder contains no such usage:
It would be nice if the two matched up.