jQuery functions not working in wave
I am trying to use jquery in wave but it's not working, I am using bootstrap theme, and it's resources\views\themes\bootstrap\assets\app.js file has "import * as $ from 'jquery';" so jquery is loading but whtn i try to add some custom jquery script it's not working, i just try following code to check jquery is loading or not but it's giving me "jQuery is not loaded" alert so it's means jquery is not there but bootstrap theme working fine as it's also using jquery. can anyone help on this?
if (window.jQuery) { alert('jQuery is loaded'); } else { alert('jQuery is not loaded'); }
Hi there,
I'm just following up on some of the old unanswered questions on the site!
We just had a similar discussion here:
How to add a npm package in my blade view?
Hope that this helps anyone who comes across this in the future.
Best,
Bobby
Hi there,
I'm just following up on some of the old unanswered questions on the site!
We just had a similar discussion here:
How to add a npm package in my blade view?
Hope that this helps anyone who comes across this in the future.
Best,
Bobby