Angular2如何降级ng-bootstrap [英] Angular2 How to downgrade ng-bootstrap

查看:83
本文介绍了Angular2如何降级ng-bootstrap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在通过下面的链接使用ng-bootstrap

Hi I am currently using ng-bootstrap from the link below

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

但是由于此最新版的ng-bootstrap具有Angular4的依赖项,

But since this latest version of ng-bootstrap has dependencies of Angular4,

我遇到了一堆我从未遇到过的引导错误.

I am getting bunch of bootstrap errors that i didn't get before.

有什么办法可以避免更新到Angular4并降级ng-bootstrap来支持angular2.

Is there any way where I can avoid updating to Angular4 and downgrade ng-bootstrap that could suuport angular2.

我已经使用了许多引导程序,所以我无法通过更改引导程序

I've already used many of these bootstrap so i can't go through changing the bootstrap

我该如何实现?

推荐答案

看着他们的更改日志,我想说您可以回到1.0.0-alpha.24(2017-04-22)版本,因为他们明确提到现在alpha.25需要最低版本的角4.0.3

Looking at their changelog, I would say you can go back to 1.0.0-alpha.24 (2017-04-22) version, since they explicit mention that now alpha.25 requires a minimal version of Angular 4.0.3

这篇关于Angular2如何降级ng-bootstrap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆