Include adminLTE in Angular2 project

Jesús Ortega Mateu picture Jesús Ortega Mateu · Apr 7, 2017 · Viewed 8.1k times · Source

I was trying to include the adminlte template in my angular project 2. I placed the adminlte folder inside node_modules, but when linking the .js and .css in the angular index.html, it does not find them, and I do not know why reason. Can anyone suggest me advice on this topic?

Attach code and error:

Reference

Error

Answer

Ramez Ezzat picture Ramez Ezzat · Apr 12, 2017

The answer it will not work that easy.

as per AdminLTE website "https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html"

Is there an integration guide for PHP frameworks such as Yii or Symfony?

Short answer, no. However, there are forks and tutorials around the web that provide info on how to integrate with many different frameworks. There are even versions of AdminLTE that are integrated with jQuery ajax, AngularJS and/or MVC5 ASP .NET.

so you can check this

but i think you can add the "bootstrap, dist, packages" inside "assets" folder in the project if you are using angular CLI