|
|
|
|
|
by techscruggs
547 days ago
|
|
A bit off topic, but whenever Rails and templating get brought up, I have to plug my absolute favorite project out there: Phlex https://beta.phlex.fun/. It's like ViewComponents, but swap out the ERB for pure Ruby. It has been a joy to develop with. With the addition of Phlex::Kit, it has made building out a component library pretty easy too.
RubyUI https://github.com/ruby-ui/ruby_ui does a great job of showing off how to do this. |
|
Furthermore your can't copy and paste examples. Think about Bootstrap components. You have to really write everything from scratch.