Add HTML template with CSS and JS into Angular project
Jan 25, 2021
Step 1. First, add all related files and folders assets from template to assets files and folders of Angular project like. CSS, img, js and remains.
Step 2. Add all necessary links of CSS and js files into the main index.html of Angular project.
<link href=”assets/vendor/bootstrap/css/bootstrap.min.css” rel=”stylesheet”>
<script src=”assets/js/main.js”></script>
Step 3. Add ‘assets/’ in starting of the path (if it is not there).
Step 4. Lastly, Add rest of the HTML tags in required “XYZ.component.html”
Step 5. Run “ng serve”