---
title: "Comment by Mario Giambanco on \"How to Add Bootstrap 4 to Angular\" | Hashnode"
description: "You shouldn&#39;t need @import &quot;~bootstrap/dist/css/bootstrap.css&quot;; or &lt;link rel=&quot;stylesheet&quot; href=&quot;../node_modules/bootstrap/dist/c"
url: "https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0/comment/5ecb26b4123fdcb70b92f6ec"
---

[Discussion](https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0)

Comment [How to Add Bootstrap 4 to Angular](https://hashnode.com/posts/how-to-add-bootstrap-4-to-angular/5ec66647627c645c120ac7d0)

[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.
