elemental_components icon indicating copy to clipboard operation
elemental_components copied to clipboard

Webpacker support?

Open topherfangio opened this issue 3 years ago • 3 comments

I see you've made some updates recently! That's awesome!

Unfortunately the project I was on got scrapped so even though we heavily used Elemental and ViewComponent, we're not using it anymore.

I have another project I wanted to play with, but wanted to start with a fresh Rails 6 install which uses Webpacker by default.

Have you gotten it working with Webpacker instead of Sprockets?

topherfangio avatar Jun 10 '21 17:06 topherfangio

@topherfangio I never tried that! Did you get it working?

jensljungblad avatar Jul 09 '21 23:07 jensljungblad

@jensljungblad Unfortunately no, I wound up just using the Sprokets pipeline to get it working and play with it.

Also, I started re-investigating ViewComponent and it looks like they have made some updates to allow for very similar things to Elemental Components.

I still really love the simplicity of the DSL you've created, but if ViewComponent is more mainstream and offers roughly the same features, I'll probably go with that.

topherfangio avatar Jul 14 '21 13:07 topherfangio

I still really love the simplicity of the DSL you've created, but if ViewComponent is more mainstream and offers roughly the same features, I'll probably go with that.

Thanks! Very understandable. I think ViewComponent has moved to a similar DSL if I remember correctly, hopefully it will be as nice to use!

jensljungblad avatar Jul 17 '21 23:07 jensljungblad