DEV Community

loading...
Cover image for Angular: How would you create a Web Based Component Generator?

Angular: How would you create a Web Based Component Generator?

jwp profile image John Peters ・1 min read

Problem

We have a reusable library of Angular components, most are GUI based, but not all

We want to create a way so all the available components are shown on the left aside in a list, and be able to drag them to an area that will represent our new component which contains those components. The new component is created as a container of the others.

To get started we ignore the styling in the new component.

Any ideas on how to do this?

Discussion (4)

pic
Editor guide
Collapse
saulburgos profile image
Saul Burgos Davila

I would suggest Angular elements

angular microfronted is called. Each component can have its own version of angular or writen in another framework...

Collapse
jwp profile image
John Peters Author

Thanks Saul, I'll take a look.

Collapse
brooksforsyth profile image
Brooks Forsyth

Are you trying to make a drag and drop site/component creator that generates the code?

Collapse
jwp profile image
John Peters Author • Edited

Yes. I already have the component library. 80% of code would be in components