---
title: "Discussion on \"How to Add Bootstrap 4 to Angular\" | Hashnode"
description: "Discussion on \"How to Add Bootstrap 4 to Angular\". In this article, I will be explaining just one method because it worked for me, there are so many other methods out there but I will only talk about what worked for me. \n\nI will add some useful resources below this post in case you don't like\nthis ap..."
url: "https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Add Bootstrap 4 to Angular](https://olawanlejoel.hashnode.dev/how-to-add-bootstrap-4-to-angular?utm_source=hashnode&utm_medium=feed)

In this article, I will be explaining just one method because it worked for me, there are so many other methods out there but I will only talk about what worked for me. I will add some useful resources below this post in case you don't like this ap...

May 21, 2020 · 4 min read · olawanlejoel.hashnode.dev  
Updated Aug 18, 2020  
Read the article

-   [#angularjs](https://hashnode.com/tag/angularjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#framework](https://hashnode.com/tag/framework)
-   [#bootstrap-4](https://hashnode.com/tag/bootstrap-4)

## Written by

[Joel Olawanle](https://hashnode.com/@olawanlejoel)

@olawanlejoel · Nigeria

  
[View profile](https://hashnode.com/@olawanlejoel)

Software Engineer & Technical Writer

Joel Olawanle is a Software Engineer &amp; Technical Writer

## Responses 2

Markdown supported · ⌘↵ to post

[Suresh Dasari](https://hashnode.com/@tutlane)

[Jun 11, 2020](https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0/comment/5ee244f1304fa1181a7d66e3)

Refer this [Bootstrap tutorial](https://www.tutlane.com/tutorial/bootstrap) it will help you in detail to setup.

[Mario Giambanco](https://hashnode.com/@mgiambanco)

[May 25, 2020](https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0/comment/5ecb26b4123fdcb70b92f6ec)

You shouldn't need

@import "~bootstrap/dist/css/bootstrap.css";

or

<link rel="stylesheet" href="../node\_modules/bootstrap/dist/css/bootstrap.css">

Putting bootstrap.css into angular.json > styles should be enough.

You should also initialize jQuery in app.component.ts

Because Bootstrap (still) uses jQuery, you should consider using something like [primefaces.org/primeng](https://www.primefaces.org/primeng/) It's based on Bootstrap (loosely) and doesn't require jQuery. Ie: using Bootstrap with Angular isn't ideal now a days.

[Joel Olawanle](https://hashnode.com/@olawanlejoel)

[May 27, 2020](https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0/comment/5ecb26b4123fdcb70b92f6ec#reply-5eced3f8957247ce0a4eca65)

Wao, thanks so much for this.
