Похожие чаты

Var $ = require('jquery'); var Cookies = require('js-cookie'); require('bootstrap4-toggle'); I put this in

script.js and ran browserify script.js -o bundle.js
But the browser throws this: ReferenceError: jQuery is not defined
Whats wrong?

2 ответов

4 просмотра
niwla23- Автор вопроса

any ideas?

The code you have that needs jQuery should require it

Похожие вопросы

Карта сайта