Topic: What to import? Chevrons are shown twice in carousel

timvangoethem free asked 1 year ago


There are 4 chevrons shown, instead of 2. Basic example from

Update: Ok, it seems that I import too many things. What should I import or not import?

I had these imports for my PRO package: I also wanted to use the datepicker and the select. Should I import that specifically?

Many thanks.

-->

timvangoethem free answered 1 year ago


I imported this: https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js

https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js

https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/js/mdb.min.js

/js/mdb.min.js /js/custom.js js/modules/select.min.js


Dawid Wajszczuk staff commented 1 year ago

Hi.

  1. Do you want to use jQuery? If not just import /js/mdb.min.js and your custom JS js/custom.js. If you plan to use jQuery, you can also import https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js.
  2. Also, are you using MDB5 or MDB4? Because I see https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/js/mdb.min.js which is MDB4 import and /js/mdb.min.js which I guess is MDB5 import. Delete MDB4 import. And now it should work fine


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: pc
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No