Topic: Template Dependencies
I have just started trying to use some of the templates (specifically construction atm) to get a head start on a site. The issue I am having is that all of the templates came bundled together with all of the css, js, files in one large folder. I am unsure of what each template requires.
Is there a section of the documentation that lists what specific dependencies each template (landing, admin, etc) require? For instance: Construction Template - mdb.min.css, bootstrap.min.css, file.js.
This way we can just include what is necessary with a template rather than including everything.
I am sure this is an easy solution that I am just not seeing. :)
Krzysztof Wilk staff answered 4 years ago
Hi!
I'm afraid there is no such listing in our documentation.
Every file in the template should contain:
CSS:
- Font Awesome https://use.fontawesome.com/releases/v5.11.2/css/all.css
- Roboto font https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap
- Bootstrap CSS
css/bootstrap.min.css
- MDB CSS
css/mdb.min.css
JS:
- jQuery
js/jquery.min.js
- popperJS
js/popper.min.js
(for components like tooltips) - Bootstrap JS
js/bootstrap.min.js
- MDB JS
js/mdb.min.js
That's a base for the project using MDB4. Remember that when you are using plugins such a Full Calendar - you have to attach those files yourself.
You can check our latest product - MDB5 (with vanilla JavaScript, no jQuery) https://mdbootstrap.com/docs/standard/. There are fewer files to link :)
Best regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.11
- Device: PC
- Browser: Firefox
- OS: Windows 10 Pro
- Provided sample code: No
- Provided link: No