Categories
How to include jQuery in Drupal 8?
Hello How to include jQuery in Drupal 8 ? needed for the masonry module to work For D7 there is a jQuery Update module, but for D8 there is no module Thanks ))
Answer the question
In order to leave comments, you need to log in
jQuery is at the core of both the seven and the eight. The jQuery Update module simply allows you to update the library version in Drupal 7. In D8, you need to add your theme file [theme name].libraries.yml to libraries: dependencies: - core/jquery
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question