How to create boot material design using Angular.
Here is what I have tried so far. I use cli to create my angular project.
angular-cli.json file
I installed MDB using npm and added them to my angular cli json file.
"styles": [
"styles.css",
"../node_modules/mdbootstrap/css/bootstrap.css",
"../node_modules/mdbootstrap/css/mdb.css"
],
"scripts": [
"../node_modules/mdbootstrap/js/jquery-3.1.1.js",
"../node_modules/mdbootstrap/js/tether.js",
"../node_modules/mdbootstrap/js/bootstrap.js",
"../node_modules/mdbootstrap/js/mdb.js"
],
Now I am adding code to the component.
<button type="button" class="btn btn-warning">Warning</button>
The code does not cause an error, but the click wave and click do not work. Please, help
source
share