Topic: Angular 8 new version - CssSyntax error

Guijarro free asked 5 years ago


Actual behavior With the latest update, our system won't compile. Apparently, you guys are using relative URLs which is causing failures when the CSS is trying to compile.

Please let me know if this is something expected with the latest update and if the needed steps to fix this issue.

Thanks.

Resources (screenshots, code snippets etc.) enter image description here

enter image description here


Damian Gemza staff answered 5 years ago


Dear @Guijarro

You should import the whole mdb.scss file in your stylesheet because this may cause such problems.

The only place where you should import the whole mdb.scss file is angular.json file.

If you want to overwrite some variables or classes, please follow the advice from this topic.

Please let me know, if commenting out the mdb.scss file import resolves your problem, or not.

Best Regards,

Damian



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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Mac
  • Provided sample code: No
  • Provided link: No