|
|
|
@ -1,6 +1,4 @@ |
|
|
|
import { LazyLoadService, LOADING_STRATEGY } from '@abp/ng.core'; |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { forkJoin } from 'rxjs'; |
|
|
|
import { Component } from '@angular/core'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'app-root', |
|
|
|
@ -9,17 +7,4 @@ import { forkJoin } from 'rxjs'; |
|
|
|
<router-outlet></router-outlet> |
|
|
|
`,
|
|
|
|
}) |
|
|
|
export class AppComponent implements OnInit { |
|
|
|
constructor(private lazyLoadService: LazyLoadService) {} |
|
|
|
|
|
|
|
ngOnInit() { |
|
|
|
forkJoin( |
|
|
|
this.lazyLoadService.load( |
|
|
|
LOADING_STRATEGY.PrependAnonymousStyleToHead('fontawesome-v4-shims.min.css') |
|
|
|
), |
|
|
|
this.lazyLoadService.load( |
|
|
|
LOADING_STRATEGY.PrependAnonymousStyleToHead('fontawesome-all.min.css') |
|
|
|
) |
|
|
|
).subscribe(); |
|
|
|
} |
|
|
|
} |
|
|
|
export class AppComponent {} |
|
|
|
|