0

How can i import bootstrap.css,jquery and JavaScript in my angular components and how can convert html webpage to angular webpage

Style.css // Globally declaration for styles

@import url("./assets/css/bootstrap.css");

1 Answer 1

1

You can install bootstrap using npm.

npm install bootstrap --save

and then set the path in angular.json file as

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

This will do the work.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.