Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons not showing up in strapi using extension instructions #52

Open
smadaan8 opened this issue May 9, 2021 · 1 comment
Open

Buttons not showing up in strapi using extension instructions #52

smadaan8 opened this issue May 9, 2021 · 1 comment

Comments

@smadaan8
Copy link

smadaan8 commented May 9, 2021

Hello VirtusLab team

First of all thank you for your awesome work on all the plugins.
I installed the extension as per the instructions but the buttons don't show up in the target component in Strapi.
I tried installing with NPM and yarn both but to no gain.

I am curious about the below instruction as the link states it is for version3.3.3. Is the below step unnecessary in the version3.5.3?

Then need to integrate /extensions folder with content-manager/admin to see manual follow This README

Also, I want to confirm if the previewUrl field needs to be added to /config/plugin.js located in the root folder of my project or some other folder.
https://github.com/VirtusLab-Open-Source/strapi-molecules/blob/master/packages/strapi-plugin-preview/README-EXTENSIONS.md

@Kronos66
Copy link
Collaborator

Hi @smadaan8
Thank you for interesting in this plugin, yes you will have to add this link in this file, should look like this:

module.exports = ({ env }) => ({
  preview: {
    publicationState: 'preview',
    previewUrl: 'http://localhost:1337/preview/:contentType/:id'
  }
}

when you add publicationState to fetch not published data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants