I use a third-party theme, initially the theme included Jquery through default_head_blocks.xml
. I wanted to use requireJS instead and I removed Jquery from default_head_blocks.xml
.
Now I have this error:
jQuery is not defined
I found that jquery is loaded after his plugins. How can I load jquery just after requirejs-config.js
?