In angular 6 you have to do it as bellow:
npm install --save bootstrap
Then only in src/style.css
file add:
@import 'bootstrap/dist/css/bootstrap.min.css';
In angular 6 you don’t have to add script to angular.json
file
More Related Contents:
- i got this error when i use command ng new myprojectname to create new project in angular
- Dynamic tabs with user-click chosen components
- How do I pass data to Angular routed components?
- Using Pipes within ngModel on INPUT Elements in Angular
- Angular 2 http.post() is not sending the request
- How can I get new selection in “select” in Angular 2?
- Location and HashLocationStrategy stopped working in beta.16
- Ionic 2 – global NavBar for the app
- Angular: How to correctly implement APP_INITIALIZER
- Angular 2 – 2 Way Binding with NgModel in NgFor
- Using multiple instances of the same service
- No provider for HttpClient
- How to pass query parameters with a routerLink
- How do I detect user navigating back in Angular2?
- Handling refresh tokens using rxjs
- How to call component method from service? (angular2)
- Angular2 – Setting date field on reactive form
- Creating and returning Observable from Angular 2 Service
- How to add “class” to host element?
- How can I use custom theme palettes in Angular?
- Angular 6 does not add X-XSRF-TOKEN header to http request
- Get last created document in a Firebase Firestore collection
- Angular – POST uploaded file
- How to pass multiple parameter to @Directives (@Components) in Angular with TypeScript?
- angular2 observable, getting undefined in component
- Invert Angular 2 *ngFor
- How to pass object from one component to another in Angular 2?
- how to support same column size when screen size reducing in angular material table
- @HostBinding and @HostListener: what do they do and what are they for?
- How to use reportProgress in HttpClient in Angular? [duplicate]