Skip to main content
Bumped by Community user
added 4 characters in body; edited tags
Source Link
Richard Seal
  • 20.8k
  • 5
  • 44
  • 79

I could add the library in the theme's script/ folder, but when SXA minifies and uploads the files, it loads my other scripts before it loads the jQuery library (thus breaking the site since it doesn't recognize $). 

How do I correctly load jQuery?

I could add the library in the theme's script/ folder, but when SXA minifies and uploads the files, it loads my other scripts before it loads the jQuery library (thus breaking the site since it doesn't recognize $). How do I correctly load jQuery?

I could add the library in the theme's script/ folder, but when SXA minifies and uploads the files, it loads my other scripts before it loads the jQuery library (thus breaking the site since it doesn't recognize $). 

How do I correctly load jQuery?

Source Link

How to correctly import jQuery in SXA?

I could add the library in the theme's script/ folder, but when SXA minifies and uploads the files, it loads my other scripts before it loads the jQuery library (thus breaking the site since it doesn't recognize $). How do I correctly load jQuery?