Open ErikFontanel opened 3 years ago
This was recently mentioned as something that would be nice to have in another conversation with @FannyBenisek .
How to implement this?
I see two ways.
(1) Folder-based
_components/category-1/component
_components/category-2/component-2
_components/category-3/component-3
(2) Metadata-based
_components/component
Plus
---
title: Component
category: Category
---
I have a strong preference for the folder-based approach. We'd need to find a good naming strategy.
It would be nice if it's possible to add subcategories to organise the Components list so it's easier to group related components. This is useful when a specific set of components are only used within one larger component. Eg. an interactive editor component that is made out of components only used within the editor and not the rest of the app.
Ie.
Components