Proper customization


Topic: Proper customization

Nexcom pro asked 7 years ago

Hello, I need asap the answer on this question, (asked in one of the replies by the user atrain0789, but not answered) For projects that are using npm, such as the Angular version of this project, editing a file within the codebase is not possible.  When pulling in from npm if the MDB lib is updated it would wipe out any changes that I’ve made to the _custom file.  Before MDB when I was using just Bootstrap by itself I would have a file where I override any of the BS4 Sass variables and then import the main BS4 sass file, which would then use my defined overrides since they do not have the !default flag. It would be great if MDB supported something like this instead of relying on editing a file within the codebase.  I am trying to get this to work currently, but have been unable to do so.  With this, I believe you would only need to redefine the variables you want to override prior to @import-ing the main mdb.scss. Has something like this been suggested before? Thanks in advance.

Damian Gemza staff commented 7 years ago

Dear Nexcorn, The problem you are describing is in our plans to solve, but it may take some time before the problem is solved. We need to think hard about how this can best be done and test all the possibilities. Unfortunately, I cannot guarantee you any deadline, not even an approximate one. As a workaround I can offer you to read this article. It can guide you to the solution you need. Link: https://medium.com/afosto/how-to-setup-a-bootstrap-project-like-bootstrap-does-it-3825a726b09a Best Regards, Damian

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes