Answers for "bootstrap 4 not working in angular 10"

9

install angular bootstrap

# From project directory:
npm install --save bootstrap
npm install --save jquery

# Now edit `angular.json`
# Position: `projects -> architect -> build -> options`
# To `styles`, add "node_modules/bootstrap/dist/css/bootstrap.css"
# To `scripts`,
#   add "node_modules/jquery/dist/jquery.js"
#   and also "node_modules/bootstrap/dist/js/bootstrap.js"
# Test with
# <<div class="alert alert-primary" role="alert"> Bootstrap alert</div>
Posted by: Guest on August-16-2020
4

angular bootstrap not working

@import "node_modules/bootstrap/scss/bootstrap.scss"
Posted by: Guest on April-26-2020

Code answers related to "bootstrap 4 not working in angular 10"

Code answers related to "Javascript"

Browse Popular Code Answers by Language