-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 6, turbolinks 5 Cannot find module 'cookies_eu' #85
Comments
RoR 6 is using webpack now and therefore this can't work anymore. We could also create the folders on our own, but not sure if this is what we want. But what you could do is...
|
Naah, not working as well. Still complaining about module cookies_eu not being found. Here is everything you need to reproduce.
application.js
aplication.html.erb HEAD
Feel free to ask for whatever else you need. |
As I see you only have the So what you need to do is... app/views/layouts/application.html.erbapp/assets/javascripts/application.jsapp/assets/config/manifest.jsAnd for the rest continue using the |
Unfortunately this only works if you still have Sprockets as a dependency of your Rails app installed |
Gem doesn't work with latest version of RoR
rails g cookies_eu:install
helper doesn't work as well, it expects application.js to be in /app/assets/javascripts/application.js
and generates error
/app/assets/javascripts/application.js does not appear to exist
After that, when loading page, banner can't be dismissed because of
The text was updated successfully, but these errors were encountered: