我希望使用 ng-bootstrap。
文档要求安装 bootstrap CSS 作为依赖,但不包括 jQuery
如果我使用 npm 安装 bootstrap,我会收到警告说它需要 jquery 和 popper。
$ npm i -S bootstrap
npm WARN bootstrap@4.1.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.1.3 requires a peer of popper.js@^1.14.3 but none is installed. You must install peer dependencies yourself.
Run Code Online (Sandbox Code Playgroud)
有没有办法在我的项目中安装 bootstrap css 而不添加不需要的对等依赖项?