I'm using Rails 7.0.0.alpha2 and I'd like to integrate stripe element (consume from stripe). I don't have a webpacker but I have hotwire together to importmap (responsible for javascript packages) and stimulus(Javascript Framework)
I am a bit lost as I have not been able to normally use javascript to integrate stripe internally to my application
If someone has used stripe elements together with rails 7 (or together with stimulus js) and could give me some help I would be very grateful