You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a mistake:
Uncaught ReferenceError: jQuery is not defined
at Object.6 (mwheelintent.js:76)
at o (_prelude.js:1)
at _prelude.js:1
at Object.8.../node_modules/jscrollpane/script/jquery.jscrollpane (app.js:2)
at o (_prelude.js:1)
at r (_prelude.js:1)
at _prelude.js:1
Thanks for your help
The text was updated successfully, but these errors were encountered:
If it's not I have to eat my own dog food and test this npm package how it works. Can you provide minimal not working code if this ain't the way to fix it for debugging.
Please advice me how to import jScrollPane from node-modules?
I try to do:
window.$ = window.jQuery = require('jquery');
import '../node_modules/jscrollpane/script/mwheelintent';
import '../node_modules/jscrollpane/script/jquery.mousewheel';
import '../node_modules/jscrollpane/script/jquery.jscrollpane';
$('.my-block').jScrollPane();
I have a mistake:
Uncaught ReferenceError: jQuery is not defined
at Object.6 (mwheelintent.js:76)
at o (_prelude.js:1)
at _prelude.js:1
at Object.8.../node_modules/jscrollpane/script/jquery.jscrollpane (app.js:2)
at o (_prelude.js:1)
at r (_prelude.js:1)
at _prelude.js:1
Thanks for your help
The text was updated successfully, but these errors were encountered: