简体   繁体   English

在Angular2中使用angular-ui-bootstrap

[英]Using angular-ui-bootstrap in Angular2

I am using Angular2 with typescript. 我正在将Angular2与打字稿一起使用。 The dependencies are resolved using npm. 依赖关系使用npm解决。

I want to use Modal dialog in my application. 我想在我的应用程序中使用“模态”对话框。 For this, I need to include angular-ui-bootstrap in my application. 为此,我需要在应用程序中包含angular-ui-bootstrap。 I need to angular-ui-bootstrap modal dialog in my application. 我需要在应用程序中使用angular-ui-bootstrap模态对话框。

angular-ui-bootstrap is for AngularJS, for the new Angular you can try this one: angular-ui-bootstrap适用于AngularJS,对于新的Angular,您可以尝试以下一种:

http://valor-software.com/ngx-bootstrap/#/ http://valor-software.com/ngx-bootstrap/#/

or this one: 或这一个:

https://ng-bootstrap.github.io/ https://ng-bootstrap.github.io/

The difference between those two project is discussed here: What is the difference between "ng-bootstrap" and "ngx-bootstrap"? 这里讨论了这两个项目之间的区别: “ ng-bootstrap”和“ ngx-bootstrap”之间有什么区别?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM