- Make sure that you installed webpacker:
yarn add @rails/webpacker
bundle exec rails webpacker:install- Then add needest packages:
yarn add jquery bootstrap-sass font-awesome- If you want, you can change the entrypoint folder from
app/javascripttoapp/webpack. Make sure that you changedsource_pathin thewebpacker.ymlto the new folder.