Shell/Bash: install angular bootstrap Example

By

Shell/Bash Example: This is the "install angular bootstrap" Example. compiled from many sources on the internet by SimpleTutorials.org

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
# <

install bootstrap angular 9

From angular cli:

npm install --save bootstrap
npm install --save jquery

Then add the following paths to angular.json:

"node_modules/bootstrap/dist/css/bootstrap.css" in the projects -> architect -> build -> styles array
"node_modules/jquery/dist/jquery.js" in the projects -> architect -> build -> scripts array
"node_modules/bootstrap/dist/js/bootstrap.js" in the projects -> architect -> build -> scripts array

install bootstrap angular

npm install --save bootstrap

install bootstrap in angular

$ npm install bootstrap

adding bootstrap to angular

 $ npm install --save bootstrap


* Summary: This "install angular bootstrap" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others