Answers for "install bootstrap 4 in angular 13"

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
14

installing bootstrap in angular 9

ng add @ng-bootstrap/ng-bootstrap
Posted by: Guest on June-22-2020
-1

install bootstrap 5 in angular

--- Install package
npm install bootstrap


--- Add dependencies
"dependencies": {
    ...
    "bootstrap": "^5.1.3",
    ...
  },
Posted by: Guest on November-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language