mardi 1 décembre 2020

Implementing basic working owl.carousel.js in odoo 14

I got this error when implementing owl.carousel : "Uncaught TypeError: Cannot read property 'fn' of undefined at owl.carousel.min.js:6 at owl.carousel.min.js:6"

odoo.define('website_theme.frontend_layout', function (require) {
'use strict';
    $('.class1').owlCarousel({
        navigation : true
        loop:true,
        margin:10,
        responsive:{
            0:{
                items:1
            },
            1000:{
                items:2
            },
            2000:{
                items:3
            }
        }
    })

    $('.class2').vegasMenu();
});

Any help please?




Aucun commentaire:

Enregistrer un commentaire