angular add 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>@import "~bootstrap/dist/css/bootstrap.css"
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.css",
"src/styles.css"
],npm install --save bootstrapnpm install bootstrap --save $ npm install --save bootstrapnpm install bootstrap
Also in JavaScript:
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project electronicbookshop: Compilation failure
- json server
- get start of day javascript
- command to create react app
- javascript get multiple elements by id
- testing library react hooks
- how to write a json in r
- javascript loop through array backwords
- json enconde
- expo login using facebook error after login react native
- how to get browser url in javascript
- how to move an element to the cursor in javascript
- javascript int values
- chrome add a javascript bookmark
- swift convert array to json
- Beautifule JS Console Log
- react replace all line breaks with br
- node js if no arguments
- javascript for loop over dictionary
- how to make react native dapp truffle
- mlutiple css jquery
- javascript check if is object
- javascript update text in div
- js toggle boolean