You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
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?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
The text was updated successfully, but these errors were encountered: