Skip to content

TrellisCommerce/datocms-plugin-gatsby-cloud

 
 

Repository files navigation

Gatsby Preview DatoCMS plugin

Plugin that allows access to Gatsby Preview instances

Configuration

In Dato CMS, when your site is served to a DatoCMS subdomain. Click on "Enter project" then go to settings and click on the Models option in the sidebar.

This should open up your "product name" settings. Click on the settings of your product and select additional settings.

This is where the "Enable draft/published system" Option is selected. So that changes you save are available in your Gatsby Preview, but not pushed to production.

Enable draft/published system

Please specify a Gatsby Preview instance url (required) and auth token (optional) in the plugin global settings.

Configuration screenshot

Plugin

Once you've configured the plugin, you will be able to see it as a sidebar widget.

Plugin screenshot

Please note that if the slug field is localized in a specific model, so needs to be the JSON field on which the plugin gets installed.

About

Plugin for Gatsby and DatoCMS integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.2%
  • Sass 3.8%