How does Angular 10 integrate with bootstrap?
Some of how we can integrate these two are-
- Installing bootstrap via npm and importing @import “~bootstrap/dist/css/bootstrap.css”; in src/styles.css i.e. importing bootstrap files in style.css file.
- By installing jquery and bootstrap via npm and adding scripts and styles to angular.json.
- In src/index.html users can import bootstrap style and script files.
- By adding Bootstrap CSS and Javascript files in the <head> section of the index.html file of your angular application.
BY Best Interview Question ON 22 Sep 2021