我们可以在 Angular 4 项目中使用 ng-bootstrap 吗?
Can we use ng-bootstrap in Angular 4 project?
在我们的前端项目中,我们正在使用 Angular 4。我们想在我们的 Angular 4 项目中使用 ng-bootstrap 库。但是 ng-bootstrap documentation 说它是必需的 Angular 5. 我们不想将我们的项目升级到 Angular 5 但仍然愿意使用 ng-bootstrap。我们能做到吗?有人已经有使用 Angular 4 和 ng-bootstrap 的经验了吗?非常感谢任何想法或建议。
请注意:我说的不是 ngx-boostrap
在他们的 docs 中说:
"Additionally you can find demos and docs deployed from latest code with angular v4 and angular v5"
我想这意味着:是的,你可以
不,你不能使用它。
为了使用它,我们从 angular 4 升级到 5,除此之外并不痛苦。我们遇到的唯一问题是更新一些外部组件,这些组件在更新中将其界面从 4 更改为 5。
在我们的前端项目中,我们正在使用 Angular 4。我们想在我们的 Angular 4 项目中使用 ng-bootstrap 库。但是 ng-bootstrap documentation 说它是必需的 Angular 5. 我们不想将我们的项目升级到 Angular 5 但仍然愿意使用 ng-bootstrap。我们能做到吗?有人已经有使用 Angular 4 和 ng-bootstrap 的经验了吗?非常感谢任何想法或建议。
请注意:我说的不是 ngx-boostrap
在他们的 docs 中说:
"Additionally you can find demos and docs deployed from latest code with angular v4 and angular v5"
我想这意味着:是的,你可以
不,你不能使用它。
为了使用它,我们从 angular 4 升级到 5,除此之外并不痛苦。我们遇到的唯一问题是更新一些外部组件,这些组件在更新中将其界面从 4 更改为 5。