Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDB Pro installation problems

tonyha premium asked 6 years ago


Hi, I have a problem to install style scss in angular.json. I am using angular 6.0.0-rc.1 and try to install style scss in angular.json files. However, I could not install it into angular.json because the Angular 6.0.0-rx.1 has been chanaged in style [] syntax from directory base to JSON object base. Therefore, I could not install it. Here is the error location in angular.json. "styles": [ { "input": "styles.css" } ], I think about syntax changed. So, when I inserted MDBootstrapPro related files such as style.scss, font-awesome, etc.  into this location, I got an error message just like below: Schema validation failed with the following errors: Data path ".styles[0]" should be object. Please answer me how to solve this problem!!!

Damian Gemza staff commented 6 years ago

Dear tonyha, Please copy styles and scripts code from our 5min-quickstart, and it should be fine. https://mdbootstrap.com/angular/5min-quickstart/ If not, please try this sample: {"input": "styles.scss"} 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

Opened

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags