šŸŽˆ Welcome to the Marketplace ā€” Explore and discover the ecosystem around DatoCMS, and share your own work with the community!
Next.js Multilang Preview Links
Plugin that provides links to preview content in Next.js for use in multilingual datoCMS projects.
This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation ā†’

Next.js Preview Links for multilingual DatoCMS Projects

This is a forked version of Next.js Preview Links. This plugin is used for multilingual datoCMS projects.

Here the original readme:

About

Plugin that adds quick links to preview & view your DatoCMS on a Next.js site. Assumes you have a preview implementation based off of the official Next.js Preview Mode guide.

Configuration

After installing the plugin, you'll need to configure the plugin settings like so:

Configuration screenshot

Then you can add it to a field in your model, for example the "slug" field. Select the "slug" field, switch to "Presentation" and select the field add-on. You have to set an entity path, you can sub in any field on the entity using the $field_name, e.g. /blog/$slug or /product/$id.

Preview

Instead of showing up in the datoCMS sidebar (like the original next.js preview links plugin) this plugin is a "field addon" and is visible in the content editor.

Preview screenshot

This is a forked version of Next.js Preview Links - a sidebar plugin for datoCMS.

Preview
Next.js Multilang Preview Links
Plugin that provides links to preview content in Next.jā€¦
Publisher
Author gravatartiacop
Plugin type
Field addon
Compatible with fields
Single-line string, Multiple-paragraph text, SEO meta tags
First released
September 15th, 2020
Current version
0.1.5
Installs count
Last update