If I use usePreviewMode: true I get the following error:
TypeError: schemaComposer.get(...).hasInterface is not a function
If I flip it to usePreviewMode: false it runs in develop mode just fine, but does not pull in the preview api call. I was able to get preview text by using other api calls, etc. I tried this in two different projects and can not get it to work.
Does it work? If so, what am I not doing in the config to set it properly?
Hello,
I am trying to get Preview Mode to work pulling in Draft content from Kentico Kontent.
Here's what I have in the
gridsome.config.js
file:If I use
usePreviewMode: true
I get the following error:TypeError: schemaComposer.get(...).hasInterface is not a function
If I flip it to
usePreviewMode: false
it runs indevelop
mode just fine, but does not pull in the preview api call. I was able to get preview text by using other api calls, etc. I tried this in two different projects and can not get it to work.Does it work? If so, what am I not doing in the config to set it properly?
Thank you for your help!