如何为 Angular 11 安装 ngx-bootstrap v7.0.0?
How to install ngx-bootstrap v7.0.0 for Angular 11?
我在我的 Angular 8 项目中使用 ngx-bootstrap 5.x.x 但现在我已经将我的 Angular v8 迁移到 v11 并且我开始面临下拉菜单的问题.它不会在第一次点击时打开。我发现他们被推荐使用 v7.0.0 但是当我使用
安装它时
npm i ngx-bootstrap@7.0.0 --save
它抛出一个错误
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ngx-bootstrap@7.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
任何帮助将不胜感激!
我在我的 Angular 8 项目中使用 ngx-bootstrap 5.x.x 但现在我已经将我的 Angular v8 迁移到 v11 并且我开始面临下拉菜单的问题.它不会在第一次点击时打开。我发现他们被推荐使用 v7.0.0 但是当我使用
安装它时npm i ngx-bootstrap@7.0.0 --save
它抛出一个错误
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ngx-bootstrap@7.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
任何帮助将不胜感激!