bootstrap in angular.json file
@import "~bootstrap/dist/css/bootstrap.css"
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.css",
"src/styles.css"
], $ npm install --save bootstrap{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "angular-bootstrap-examples": { "projectType": "application", "schematics": {}, "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist/angular-bootstrap-examples", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", "aot": true, "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ "./node_modules/bootstrap/dist/css/bootstrap.css", "src/styles.css" ], "scripts": [ "./node_modules/jquery/dist/jquery.js", "./node_modules/bootstrap/dist/js/bootstrap.js" ] },
Also in JavaScript:
- angular refresh component without reloading page
- how to get the size of the window in javascript
- get css value jquery
- how to update value in nested json using id in javascript
- rimraf node.js
- tick.json code
- inline style react
- sort nested data using sort function javascript
- javascript all type of data
- const{}=
- node js sleep between axios
- rest operator javascript
- json decoding and optionals
- array includes
- javascript store object in localstorage
- how to decode apollo client graphql error: bad request
- react set port
- javascript get element by tag and attribute
- update cart quantity javascript
- How to add a new item to an object at a specific position with vanilla JS
- javascript json decode
- javascript detect square number
- load a config file discordjs
- how to deep copy an object in javascript