tethys/resources/assets/js/jquery-global.js

6 lines
181 B
JavaScript
Raw Normal View History

//https://stackoverflow.com/questions/35358625/jquery-is-not-defined-when-use-es6-import
// jquery-global.js
import jquery from 'jquery';
window.jQuery = jquery;
window.$ = jquery;