Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Gulp has nothing to do with it at all. You need to connect the script to yourself in js, for example, via require, and galp will collect it all
I myself suffered with this for a long time, in the end you need to add fn to the carousel
import $ from 'jquery'
window.jQuery = $
window.$ = $
let owl_carousel = require('owl.carousel');
window.fn = owl_carousel;
$(document).ready(function(){
$('.owl-carousel').owlCarousel();
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question