Martin Kost

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

I fix this by using:

import Rails from "@rails/ujs"
Rails.start()

instead of

require("@rails/rails-ujs").start()

and then I added

import Rails from "@rails/ujs"

in every component where I use Rails