emulsify-ds / compound

Compound is the default component collection for Emulsify
https://emulsify-ds.github.io/compound/
GNU General Public License v2.0
12 stars 12 forks source link

Support nested components #27

Closed ModulesUnraveled closed 2 years ago

ModulesUnraveled commented 2 years ago

Currently the CLI supports one level of components.

So if you have:

You just type emulsify component install card and you get both of those files, in that structure.

I would like to be able to support a structure like this:

I think currently, I would just have the ability to install cards and get both of the card types, even if I only wanted to use the news-card.

ModulesUnraveled commented 2 years ago

Turns out this is already possible, we just need to update the component list in compound to specify the nested component structure.