gentelella-rails
gentelella-rails copied to clipboard
Rails 6 webpack how include vendors?
Hello I want to connect the gentelella template to my rails 6 project. The project is completely empty. Installed via yarn add gentelella. Further in the file app / javascript / packs / application.js added require ("gentelella") But when you open any page, it gives an error that Jquery is not connected. If I understand correctly all the dependencies should have been connected from the vendors folder but this did not happen, at least for rails 6 it works for a friend. Tell me how to properly connect all the dependencies so as not to install them manually.
Can you verify that you're initializing jquery in your Rails 6 app per instructions in the gem's readme? https://github.com/rails/jquery-rails