komposable / komponent

An opinionated way of organizing front-end code in Ruby on Rails, based on components
http://komponent.io
MIT License
426 stars 31 forks source link

Add a method to return the list of components #44

Closed Spone closed 6 years ago

Spone commented 6 years ago

If I want to create a styleguide / pattern library in my app, I'll need access to the list of available components.

I think Komponent should make a helper available to my views and/or add a class that I can use in my controllers.

Spone commented 6 years ago

@florentferry @sigmike As we discussed today, it may be a better idea to add this feature as part of another gem, which would be aimed a generating the styleguide / pattern library UI.

florentferry commented 6 years ago

:+1: