Where do I link to css and js when using the mdbootstrap sta


Topic: Where do I link to css and js when using the mdbootstrap standard premium library (for vanilla js NOT the angular specific one) in my angular project?

adamgusky asked 3 years ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


adamgusky answered 3 years ago

Please note, I know I should be using the Angular specific version of MDBootstrap, but I built the entire project using the free version of mdbootstrap standard. So I thought I would just continue with it by buying the premium version at has been working great even though my project is angular js.


Arkadiusz Idzikowski staff commented 3 years ago

@adamgusky You can import styles and scripts in styles and scripts array in angular.json file (you need to update the arrays in object named the same as your project). Please note that we recommend using MDB Angular in such cases and we don't test Standard library in Angular projects.


adamgusky commented 3 years ago

I have done that but it isn't working. It does however work whent the datatable is directly in the index.html, but doesn't work (eg: the leaderboards aren't sortable) when I place the datatable in a component.


Arkadiusz Idzikowski staff commented 3 years ago

@adamgusky As I mentioned in my previous comment, the use of this product in the Angular project is not recommended and supported. We don't test the Standard library in the Angular environment and we won't be able to help with any potential problems with the components.


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: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags