Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Update demo request #2

Open
ASoldo opened this issue Aug 20, 2019 · 1 comment
Open

Update demo request #2

ASoldo opened this issue Aug 20, 2019 · 1 comment

Comments

@ASoldo
Copy link

ASoldo commented Aug 20, 2019

Hi, thank you for this great demo, I am still learning Vue and Im asking you for a favour if you could update demo so propperty values are visible inside blocks as well top right inspector?
It would be a good material to research. Thank you in advance.

@ghostiam
Copy link
Owner

Hi, thanks for your interest in the project.
There is currently no easy way to do this, you need to edit the "https://github.com/ghostiam/vue-blocks/blob/master/src/components/VueBlock.vue", add props with the name "values", change the template, and then fix the styles.

I think the best way would be to use the “slots” in the template and add the ability to specify the component name or template directly in the block property.

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

No branches or pull requests

2 participants