twitter-bootstrap - 我在 "ngx-bootstrap"和 "@ng-bootstrap/ng-bootstrap"之间感到困惑

标签 twitter-bootstrap angular typescript bootstrap-4

我计划在我的项目中使用 Bootstrap 4 和 angular 4,但我对 npm install --save @ng-bootstrap/ng-bootstrapnpm install ngx- 感到困惑 Bootstrap ——保存。那么谁能帮助我哪个更适合 Angular 4?

最佳答案

两者都很好,你可以抛硬币并使用其中的任何一个。

我的项目是 ng-bootstrap,到目前为止没问题。

但是选择框架可能很棘手,您应该考虑很多因素。

首先两者都支持 Angular 4Bootstrap 4,但是 ngx-bootstrap 也支持 Bootstrap 3

在 github ngx-bootstrap wins 中检查已关闭的问题时,检查这些链接 ng-bootstrap , ngx-bootstrap .

ngx-bootstrap 团队还有更多模块,例如 ng2-file-upload more here

并检查 Stackoverflow 未回答的问题 ng-bootstrap , ngx-bootstrap .这意味着 ngx-bootstrap 问题更有可能在 SO 中得到解决。

关于twitter-bootstrap - 我在 "ngx-bootstrap"和 "@ng-bootstrap/ng-bootstrap"之间感到困惑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47108713/

相关文章:

javascript - 流畅的动画javascript堆叠进度条不闪烁

angularjs - Angular 2 : Binding to Functions from Component Templates

angular - ngrx 4 选择器返回整个状态而不是子状态

带有 GET 方法的 Angular HttpClient 参数不起作用

typescript - 如何为 lodash/fp 管道传输 Promise.allSettled? (或任何类似管道库的功能,例如 : p-pipe)

html - 全日历全垂直边框

html - Bootstrap "form-inline"类中元素的顺序

javascript - 在 Bootstrap 模式内制作绘图应用程序

javascript - Angular 2/4 : Assign array value from promise function in service layer to a variable in component

reactjs - 推送状态数组 React with TypeScript