Can't I integrate some plain bootstrap code to my react


Topic: Can't I integrate some plain bootstrap code to my react project.?

Rahul Anand premium asked 4 years ago

I took plain javascript pro package and thought that I can integrate with my existing react project but I am unable to do so.

Lets take an example. Suppose I want to use https://mdbootstrap.com/docs/standard/forms/autocomplete/ this autocomplete element on my react's component? Is there is tutorial given to do it.

I downloaded Material Design for Bootstrap v5 zip from orders, integrated with my project. but then I know I cannot call new mdb.Autocomplete from render method.


Grzegorz Bujański staff answered 4 years ago

Unfortunately, we don't have instructions on how to integrate MDB Standard with React. I'm afraid this will require importing a js file in every component. For React, we have a specially prepared version - MDB5 React.


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: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: Mac Mini 2021
  • Browser: Chrome
  • OS: Mac OS Big Sur
  • Provided sample code: No
  • Provided link: Yes
Tags