Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

[Feat] Third party component libraries #35

Open
BrockReece opened this issue May 19, 2018 · 4 comments
Open

[Feat] Third party component libraries #35

BrockReece opened this issue May 19, 2018 · 4 comments
Labels
💬 discussion Share ideas on features feature New feature or request

Comments

@BrockReece
Copy link

It would be useful to load third party component libraries into the vuegg client.

I have cloned this repo and have managed to add my own components manually by following how existing components are loaded and I think we could start a convention of adding a .vuegg file to the root of a component library that would globally add all of the necessary components and dependencies into Vue and then return an array of objects similar to https://github.com/vuegg/vuegg/blob/master/client/src/assets/BasicElements.js?

I'm happy to help if this is something you would be interested in.

@alxpez
Copy link
Owner

alxpez commented May 20, 2018

Hi @BrockReece,

This is definitely a most needed feature, since it's clear that everyone prefers to use the component library they're used to (some small discussion has happened around this #11).

I tried to build vuegg with this in mind. Although I'm not entirely sure how to make possible the loading of vue components during runtime; I don't want to bloat the compiled client with libraries, my thoughts are moving around the idea of updating the index.html with script/styles for the wanted library, and reload the client with this new version (obviously the components used need of a vuegg-definition, similar to MaterialComponents.js); I'm keen on the .vuegg convention if you have a way to go in mind.

I did prepare the vue sources generation to be able to manage different libraries inclusion (maybe it will need some tweaking to make it work in every library case).

If you have any ideas on how to implement this, I'd be really happy to discuss them. Let me know if you make any progress on your own, this is for sure a most wanted feature.

Thanks for your time!

@alxpez alxpez added feature New feature or request 💬 discussion Share ideas on features labels May 20, 2018
@BrockReece
Copy link
Author

Great, thanks for your support, I will have a play with a few things and see what I can come up with.

@praveenrejeti
Copy link

Can anyone guide me on how to add custom thrid party components in vuegg for code generation (https://quasar-framework.org)

@625781186
Copy link

@alxpez
Perhaps you can let developers define their own UI frameworks, like vue-layout
https://jaweii.github.io/Vue-Layout/dist/#/share/5993d3b05c497d0057c6f2da

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💬 discussion Share ideas on features feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants