Short answer: You don’t need both. app/assets/javascript
is for the sprockets based asset pipeline, and app/javascript
is for the webpacker/bundler/import maps based one.
Long answer: Check my other post here:
Short answer: You don’t need both. app/assets/javascript
is for the sprockets based asset pipeline, and app/javascript
is for the webpacker/bundler/import maps based one.
Long answer: Check my other post here: