Skip to content

Commit

Permalink
feat: 设置ngx-bootstrap的默认主题
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai committed Jan 25, 2019
1 parent f635250 commit c5f4476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { Router, NavigationEnd, ActivatedRoute } from '@angular/router';

import { setTheme } from 'ngx-bootstrap/utils';
import { filter, map, mergeMap } from 'rxjs/operators';

@Component({
Expand All @@ -18,7 +18,7 @@ export class AppComponent implements OnInit {
private router: Router,
private activatedRoute: ActivatedRoute
) {

setTheme('bs4'); // or 'bs3'
}

ngOnInit() {
Expand Down

0 comments on commit c5f4476

Please sign in to comment.