I am using ng-boostrap (v7.0.0) together with Angular (v10) and I am having some problems to encapsulate Bootstrap to be used in a component where a use an accordion from ng-bootstrap.
Basically the css works only if I put @import "~bootstrap/scss/bootstrap" in the global file styles.scss. However, I want to import it only in the component mycomponent.scss file as this application will be published consist of a webpage that is currently using bootstrap 3 and if I import it globally instead of importing it locally, it messes up the complete webpage.
Is there a way to import ng-bootstrap using Viewencapsulation from angular or any other option?