KlausSchaefers / vue-low-code

Quant-UX standalone
MIT License
364 stars 42 forks source link

Is there any sample implementation or documentation for custom component? #64

Closed im-DJKem closed 1 year ago

im-DJKem commented 1 year ago

I am currently prototyping a SPA application at my workplace using Fimga and vue-low-code.
I have a feature that I want to control detailed interactions myself, and I was thinking of using a custom component, but I'm not sure how to implement it.
Do you have any documentation or sample code?
I checked the following documentation, but could not understand it very well.

I am mainly interested in the following topics

KlausSchaefers commented 1 year ago

Hi,

thanks for reaching out. I just created a small sample project:

https://github.com/KlausSchaefers/luisa-custom-component

The Figma file looks like:

image

the main code is here:

https://github.com/KlausSchaefers/luisa-custom-component/blob/main/src/components/ComplexCustomComponent.vue

Does this help?

im-DJKem commented 1 year ago

Thank you for your answer. I think I can solve what I wanted to know by referring to the sample project you provided.
I will close this Issue.