This is my HTML
code with bootstrap classes and is using it in Angular
here the dropdown
is not expanding, values Save Data and Fetch Data are not displaying in the browser. But If I use the same code in any online bootstrap workspace it works fine (example W3schools). Here something is not supporting it. I don't understand what I'm missing here. Can anyone please help me out this problem?
<ul class="nav navbar-nav navbar-right">
<li class="dropdown open">
<a class="dropdown-toggle" role="button" href="#">Manage <span class="caret"></span></a>
<ul class="dropdown-menu">
<li > <a href="#"> Save Data</a></li>
<li> <a href="#"> Fetch Data</a></li>
</ul>
</li>
</ul>
And I have added Bootstrap CSS in file angular.json file like in below,
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
I am using Bootstrap
v4.1.2.