mattmilburn/strapi-plugin-preview-button

strapi v4 preview button configuration

kiscdbc opened this issue · 1 comments

Hej Matt,
to which file do i have to add

module.exports = {
'preview-button': {
config: {
contentTypes: [
...
],
},
},
};

Thanks in advance!

Hi @kiscdbc You need to create a file at ./config/plugins.js for this code. You can read more about it in the Strapi docs here.

I will be adding a note about this in the plugin documentation soon 👍🏻