Marcel Gierak
Joined 7/25/2020
Marcel Gierak said almost 2 years ago on Custom Turbo Stream Actions :
hi,
when i create turbo_streams folder and the index.js and toast.js file and I get error in console in index.js import "./toast.js" line.
GET http://localhost:3000/assets/toast net::ERR_ABORTED 404 (Not Found)
i try to but nothing
i tried rails assets:precompile but it didn't help either
how can i solve it?

Marcel Gierak said almost 2 years ago on Custom Turbo Stream Actions :
thanks for the quick reply.
Yes I use importmap and imported toastify-js via importmap pin toastify-js