I have a component, dashboard and within that component I have generated another component,menu-bar (which has only the html of that side menu) that I intend to use in other components. If I call the menu bar like this:
<app-menu-bar> </ app-menu-bar>
The bootstrap does not load for this component that was called, but for the rest of the page it loads normally. But if I get the html from the menu-bar component and put it inside thedashboard html it works normally. What should I do? I need to do something different to load the bootstrap into a child component?
Note: I load the bootstrap ( bootstrap CSS ) inside the angular.json and it works normally for other components