这是一个在stackblitz中的空白角度7项目,在Angular 6中使用,constructor(private bsModalRef: BsModalRef)所以我可以将值传递给我的子弹出组件.
constructor(private bsModalRef: BsModalRef)
但当我更新到角7时,它说Module not found: Error: Can't resolve 'ngx-bootstrap/modal/bs-modal-ref.service'.
Module not found: Error: Can't resolve 'ngx-bootstrap/modal/bs-modal-ref.service'
在stackblitz中,它要求我安装ngx-bootstrap,但我已经安装了.
任何的想法?
ngx-bootstrap angular ngx-bootstrap-modal angular7
angular ×1
angular7 ×1
ngx-bootstrap ×1
ngx-bootstrap-modal ×1