Topic: How to setup individual dependencies per page?

sportssouth priority asked 3 years ago


I am trying to figure out the best approach for using the mdb standard pro version in my project. I don't want to include all plugins, but only the ones that I plan to use per page. I constantly run into dependency issues. I cannot use node in my environment, so i'm not doing any kind of importing. I want to know what the best approach to just include the needed files and what the needed files are for each plugin or component. My setup is basically I have a CMS that runs the backend and has a "template" setup and each page can have it's own set of dependencies separate from the template, but each page also inherits dependencies from the template. So I may want to use the calender plugin on one page, but not every page, but want to use the cookie.js on every page, so it would be in the template. Hope this makes sense.


Grzegorz Bujański staff answered 3 years ago


our plugins contain compiled js and css files. Each plugin has its own js and css files. You will not need any additional dependencies. You just need to import the appropriate files on the website.

You find more about installing plugins here: https://mdbootstrap.com/docs/standard/pro/plugins-installation/



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No