Topic: Suggestion: bootstrap from node_modules

haushoppeits pro asked 7 years ago


Would you mind to add bootstrap to `package.json`? Thats the only clean way to add a dependency! This would make upgrades of MDB pro a bit easier. Guide: 1. npm install bootstrap@4.0.0-beta 2. update angular-cli.json --> styles: ["../node_modules/bootstrap/scss/bootstrap.scss"] 3. update main.scss `@import "bootstrap/functions";` changes to `@import "~bootstrap/scss/functions";` `@import "bootstrap/variables";` changes to `@import "~bootstrap/scss/variables";` 4. big success! Thanks & Cheers Johannes

Dawid Adach pro answered 7 years ago


Dear Johannes, thanks for your proposal, we will consider that in next releases. However, due to Bootstrap syntax changes, which used to be quite often till now, I can't promise that it will happen in coming releases as it could break project. Ulimately, once Bootstrap will get more stable and updates less frequent we will definitely add that.

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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags