DNNCommunity / dnn-elements

Collection of Dnn Stencil custom elements
https://dnncommunity.github.io/dnn-elements/
MIT License
18 stars 10 forks source link

Inquiry About Using dnn-elements with Vue #1220

Open libanlsilva opened 3 weeks ago

libanlsilva commented 3 weeks ago

Hello,

I am currently exploring the use of the dnn-elements library within a Vue project, but I've noticed that there is no official support for Vue in the documentation. I would like to inquire if there are any known downsides or potential issues when integrating dnn-elements with Vue.

Specifically, I am concerned about the following aspects:

  1. Compatibility: Are there any known issues with integrating or migrating to other libraries if we use dnn-elements with Vue?
  2. Performance: Is there any information regarding the performance of dnn-elements when used in a Vue environment?
  3. Maintenance: Given that Vue is not officially supported, how might this impact future maintenance and updates of our project?

Any insights or experiences regarding the integration of dnn-elements with Vue would be greatly appreciated. Thank you for your help!

Additionally, I would like to ask if there are plans to add support for Vue in the future.

Best regards,

david-poindexter commented 3 weeks ago

@libanlsilva we currently only distribute the pure web components (no framework dependency), along with one framework specific output for React. The plan is to add Angular and VueJS to the output targets, but we'd love to have some people to help test these when they are being implemented. Do you think this is something you could offer? If you are interested, here is a link to the StencilJS documentation on implementation for VueJS.

WillStrohl commented 3 weeks ago

We were looking into it, David. Not sure right now if the timing is right for us to contribute that (yet), or move forward with something else that will save time, for now. This is for an update to the Upendo DNN Generator, by the way.

valadas commented 3 weeks ago

To add to what was already said and to answer your concerns about performance/maintenance: As long as we have people using Vue and helping test or contributing, vue support is totally welcome and I'll help as much as I possibly can. However I don't have vue projects, so me myself won't be actively testing for it (or react for that matter), but happy to help make it happen though.

In theory we only need to implement the vue output target in the config and then someone more confortable than me in vue can give it a test in project... https://stenciljs.com/docs/vue#adding-the-vue-output-target