In response to your question:
> is it possible to use glimmer in rails views, like replacing or in combination w erb/haml/slim/etc.
Yes, of course. Glimmer DSL for Web is designed to be used in Rails
Views (ERB, HAML, or SLIM) via a Rails helper. You do so by utilizing
the glimmer_component Rails helper as documented here:
https://github.com/AndyObtiva/glimmer-dsl-web?tab=readme-ov-file#hello-glimmer_component-rails-helper
That lets you embed any Glimmer Frontend component inside a Rails View.
Here is an example of using it in a Rails sample app:
https://github.com/AndyObtiva/sample-glimmer-dsl-web-rails7-app/blob/master/app/views/welcomes/_address_page.html.erb
I do highly recommend that you go through all the samples of the
project to learn it well. It's the best way for learning the project
in addition to watching one or more of the project talk videos.
If you have any other questions, feel free to ask here or at the
Glimmer Gitter chat (there are no stupid questions by the way):
https://app.gitter.im/#/room/#AndyObtiva_glimmer:gitter.im
Best regards,
Andy Maleh
On Fri, Dec 26, 2025 at 4:24 AM botp via ruby-talk
<ruby-talk@ml.ruby-lang.org> wrote:
>
> is it possible to use glimmer in rails views, like replacing or in combination w erb/haml/slim/etc.
>
> sorry if this question sounds stupid.
>
> kind regards
> --botp
>
>
> On Fri, Dec 26, 2025 at 5:14 AM Andy Maleh via ruby-talk <ruby-talk@ml.ruby-lang.org> wrote:
>>
>> Video of "Frontend Ruby with Glimmer DSL for Web" at Ruby on Rio 2025-06-06
>>
> ______________________________________________
> ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
> To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
> ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/