Add HTML template with CSS and JS into Angular project

Shobit jain
Jan 25, 2021

--

HTML, CSS, JavaScript and JQuery into Angular

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”

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response