Topic: npm and angular-cli install

Jerry Huckins free asked 7 years ago


I am building my first angular-cli project. I installed mdbootstrap using npm, and edited my angular-cli.json. Afterwards, the app builds successfully. But it looks like no mdbootstrap css or js works. angular-cli.json changes:

      "styles": [
        "../node_modules/font-awesome/css/font-awesome.min.css",
        "../node_modules/mdbootstrap/css/bootstrap.min.css",
        "../node_modules/mdbootstrap/css/mdb.min.css",
        "../node_modules/mdbootstrap/css/style.css",
        "css/mdb-custom.css",
        "css/styles-index.css"
      ],
      "scripts": [
        "../node_modules/mdbootstrap/js/jquery-3.1.1.min.js",
        "../node_modules/mdbootstrap/js/tether.min.js",
        "../node_modules/mdbootstrap/js/bootstrap.min.js",
        "../node_modules/mdbootstrap/js/mdb.min.js"
      ],

Piotr Bender free answered 6 years ago


Hello,In response to your issue, I wanted to let you know about just released MDBootstrap Angular kit, that may be a sufficient solution to this or any other issues you have had with Angular integration so far.The kit can be found at the following link:https://mdbootstrap.com/angular/It contains all the components you could find in MDB jQuery version.We encourage you to try it out and report any bugs or issues at contact@mdbootstrap.com with [Angular] prefix or create a thread on this forum.Have a great day!


Kamil Paciepnik free answered 7 years ago


Hi Jerry Huckins, currently we don’t support the angular. In the future we plan to support Angular. Regards

Jerry Huckins free answered 7 years ago


EDIT: Looks like jquery and bootstrap work. But no mdbootstrap.

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

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