angular - Bootstrap DropDown and collapse dont work with angular2-meteor -


i install bootstrap in angular2-meteor project with:

meteor npm install --save bootstrap@4.0.0-alpha.5 

then dropdown , collapse component dont work, when add bootstrap scripts lines in index.html body bootstrap component work fine.

why

if plan use bootstrap 4 css angular 2 suggest evaluating 1 of libraries provide native bootstrap widgets: https://ng-bootstrap.github.io

those widgets written angular 2 , offer apis make sense in context of angular 2. since library written ground-up angular 2 won't need dependency on jquery nor bootstrap's javascript (it enough include bootstrap's css , mentioned library)


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -