DEV Community

Cover image for Angular: How would you create a Web Based Component Generator?
John Peters
John Peters

Posted on

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

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?

Top comments (4)

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

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 • Edited

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