devyumao / angular2-busy

Show busy/loading indicators on any promise, or on any Observable's subscription.
http://devyumao.github.io/angular2-busy/demo/asset/
MIT License
314 stars 102 forks source link

How do i build the project for angular 2 #91

Open bacem-g opened 6 years ago

bacem-g commented 6 years ago

I have an angular 2 project. I installed angular2-busy dependency with npm. Then, i got a compile error: "ERROR in ./~/angular2-busy/build/busy-backdrop.component.js Module not found: Error: Can't resolve '@angular/animations". I make a google search on this and i found that the module @angular/animations have been introduced since angular 4, and is not included in angular 2. So, my request is how should i build the source of angular2-busy to be compatible with an angular 2 project ?