@uigstudio/strapi-plugin-content-preview
v0.1.0
Published
This plugin enables strapi content preview
Downloads
3
Readme
Strapi Plugin-Content-Versioning
⚠️⚠️⚠️ Currently a beta. ⚠️⚠️⚠️
A Strapi plugin for preview of your content.
This plugin provides the ability preview content in your strapi admin.
Prerequirements:
npm i @notum-cz/strapi-plugin-content-versioning
yarn add @notum-cz/strapi-plugin-content-versioning
And all steps described in plugin install instruction.
🧑💻 Install
npm i @uigstudio/strapi-plugin-content-preview
yarn add @uigstudio/strapi-plugin-content-preview
⚠️ Read before installation
You need to create/modify file config/plugins.js
with
module.exports = ({ env }) => ({
"content-preview": {
enabled: true,
config: {
autoSave: true,
previewUrl: env('PREVIEW_URL'),
namespaces: {
'api::pages.pages': {urlprefix: ''},
'api::news.news': {urlprefix: '', previewUrl: env('PREVIEW_OTHER_URL')}
},
},
},
});