npm and angular-cli install


Topic: npm and angular-cli install

Jerry Huckins 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"
      ],

EDIT: Looks like jquery and bootstrap work. But no mdbootstrap.
Hi Jerry Huckins, currently we don’t support the angular. In the future we plan to support Angular. Regards

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!


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