anthony prakash
anthony prakash

Reputation: 1

Bootstrap not loading in chrome

I am learning Angular and working on a test project, in which I am using Bootstrap version 3. The Bootstrap navbar, row, col and other features are not rendering in Chrome.

I checked the DOM structure in dev tools, and it shows Bootstrap integrated within a style tag.

Code from one of the components:

Code from one of the components

Upvotes: 0

Views: 149

Answers (1)

edrich13
edrich13

Reputation: 829

It seems like you have not inlcuded bootstrap in your angular.json.

In your angular.json add the below code

"styles": [
          "node_modules/bootstrap/dist/css/bootstrap.min.css",
          "src/styles.scss"
        ],

Upvotes: 1

Related Questions