JQuery ES6 import throws $ is not defined error

前端 未结 0 1433
滥情空心
滥情空心 2021-01-23 18:56

I have a Laravel 8 installation which contains resources/js/bootstrap.js file. This file looks like:

window.$ = window.jQuery = require(\'jquery\');
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题