Replies: 2 comments 2 replies
-
Hi Krzysztof! The idea was for To avoid having to manage tag helpers such as |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response! In that case I would like to fork the repo and give it a shot to upgrade the current implementation into hanami 2.1 using Also thanks for the gem overall. I've been using the rails version and it really is nice and convenient :) |
Beta Was this translation helpful? Give feedback.
-
Hey
So currently the vite_hanami is broken to my understanding. It is probably meant for hanami pre 2.0, and now we have 2.1 which has its own, default way of doing views and assets.
However if someone wants to use hanami views, but not assets and wants to use vite, the current state of this gem, does not work for this purpose.
The tag helpers use non-existing methods, need to be included in a different way, in a different place, the vite-dev folder in public does not get generated etc.
In general for hanami, the gem is severely out-of-date. I was wondering if there are any plans/work in progress, to get it working again for hanami 2.1? If not, would you accept PR's that try to make it work with the newer hanami? It would be aimed for integrations that use hanami-views but skip hanami-assets I guess, although I am not sure. Without hanami-assets there are no tag halpers like javascript_tag etc. but everything else would be obsolete from that gem if using vite.
Beta Was this translation helpful? Give feedback.
All reactions