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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -