Topic: Include One Component Only

lgtech priority asked 2 months ago


I want to set this up to be able to use only individual components per page. I don’t want to apply global css changes to my existing project. When using the cdn link or including the files directly in my project, it applies global changes that I don’t want to have to configure right now. Can someone help me with this? For now, I would like to only use the js/css associated only with the toggle switch in a specific page.


kpienkowska staff answered 2 months ago


Then you need to import only the components you need. There is information about this on our page: https://mdbootstrap.com/docs/standard/pro/installation/#section-npm


lgtech priority commented 2 months ago

Any way without node?


kpienkowska staff commented 2 months ago

You can do those imports from source files from our package.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No