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
Is there a good way to run a Gatsby site without having the Contentful plugin active in dev?. We still need the plugin to build our site, but in development we don't have to pull down the data. It would be good if not every user in our team need to have the Contentful API keys in their .env to use the site.
I know you can separate to use different plugins in dev, stage or prod. But how to handle page queries, static queries in pages/components that still rely on Contentful?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a good way to run a Gatsby site without having the Contentful plugin active in dev?. We still need the plugin to build our site, but in development we don't have to pull down the data. It would be good if not every user in our team need to have the Contentful API keys in their
.env
to use the site.I know you can separate to use different plugins in dev, stage or prod. But how to handle page queries, static queries in pages/components that still rely on Contentful?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions