Skip to content
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 webpack how include vendors? #19

Open
galievruslan opened this issue Dec 12, 2019 · 1 comment
Open

Rails 6 webpack how include vendors? #19

galievruslan opened this issue Dec 12, 2019 · 1 comment

Comments

@galievruslan
Copy link

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.

@mwlang
Copy link
Owner

mwlang commented Dec 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants