我们可以在Angular 4项目中使用ng-bootstrap吗? [英] Can we use ng-bootstrap in Angular 4 project?
问题描述
在我们的前端项目中,我们使用的是Angular4.我们想在Angular 4项目中使用ng-bootstrap库.但是 ng-bootstrap文档说它是Angular 5所必需的.我们不希望将我们的项目升级到Angular 5,但仍然愿意使用ng-bootstrap.我们可以做到吗?有人已经对Angular 4和ng-bootstrap有经验吗?任何想法或建议都受到高度赞赏.
In our front-end project, we are using Angular 4. And we would like to use ng-bootstrap library in our Angular 4 project. But ng-bootstrap documentation saying it's required Angular 5. We would not like to upgrade our project to Angular 5 but still willing to use ng-bootstrap. Can we do that? Someone already having experience with Angular 4 and ng-bootstrap? Any thoughts or advice highly appreciated.
请注意:我不是在谈论 ngx-boostrap
Please note that: I'm not talking about ngx-boostrap
推荐答案
否,您不能使用它.
要使用它,我们从4号角升级到5号角,没有异常的痛苦.我们唯一的问题是更新了一些外部组件,这些组件在更新中将其界面从4更改为5.
To use it we upgraded from angular 4 to 5, it wasnt painful as excepted. The only problem we had was updating some external component who changed their interface in the update from 4 to 5.
这篇关于我们可以在Angular 4项目中使用ng-bootstrap吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!