Author : argonx

I am trying to add ngx-datatable component to my project and I am learning to do this so I can eventually do this for a big project. There are two methods of adding styles to the datatable and one is by importing in styles.scss: @import ‘[email protected]/ngx-datatable/index.css’; @import ‘[email protected]/ngx-datatable/themes/material.scss’; @import ‘[email protected]/ngx-datatable/themes/dark.scss’; @import ‘[email protected]/ngx-datatable/themes/bootstrap.scss’; @import ‘[email protected]/ngx-datatable/assets/icons.css’; And ..

Read more

I have installed jquery and bootrap using npm install jquery –save and npm install bootstrap –save and they are found in the node_modules. I added the scripts to my angular.json file under "scripts" as following: "scripts": [ "node_modules/jquery/dist/jquery.min.js", "node_modules/bootstrap/dist/js/bootstrap.min.js" ] Here is my component.html file: <div class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> ..

Read more