Show More
Commit Description:
jquery, bootstrap ok
Commit Description:
jquery, bootstrap ok
File last commit:
Show/Diff file:
Action:
app/javascript/prepend_jquery.js | 11 lines | 302 B | application/javascript | JavascriptErbLexer |
//we need jquery to load first, this is enforced by
// doing
// <%= javascript_import_module_tag('prepen_jquery') %>
// before
// <%= javascript_importmap_tags %>
// (which loads application.js
import jQuery from "jquery"
window.$ = window.jQuery = jQuery;
console.log('i am prepend_jquery');