Carousel Slider


Topic: Carousel Slider

Clanwarz pro premium priority asked 5 years ago

Hello,

I have purchased MDBReact Pro (Small Bundle : MDB Pro + Admin Template 30% off (React version) - 1 person & unlimited projects), and I have installed in one of my react project.

When I'm trying to import and use MDBCarousel then I got the below error.

MDBCarousel is not exported from mdbreact

Thanks.


Aliaksandr Andrasiuk staff answered 5 years ago

Hi,

Probably, you are trying to import MDBCarousel component from Admin's mdbreact package. But this package doesn't contain all the components from original mdbreact pro package.

Fortunately, you've purchased a small bundle where mdbreact pro package is included. If you want to use all the available components from mdbreact pro package you can do the following:

1) Extract the mdbreact-4.18.1.tgz file from MDB-React-Pro-npm.zip into your actual project folder.

2) In your package.json actual's project file change the mdbreact package source to :

"mdbreact": "file:mdbreact-4.18.1.tgz"

3) npm i

After all the dependencies will be installed you can try to run your application with all the Pro components available.

Hope I could help.

Best regards.


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: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.18.0
  • Device: Web
  • Browser: Chrome/Firefox
  • OS: Windows
  • Provided sample code: No
  • Provided link: No