mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
694 B
31 lines
694 B
import { LazyLoadService } from '@abp/ng.core';
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
template: `
|
|
<abp-loader-bar></abp-loader-bar>
|
|
<router-outlet></router-outlet>
|
|
`,
|
|
})
|
|
export class AppComponent implements OnInit {
|
|
constructor(private lazyLoadService: LazyLoadService) {}
|
|
|
|
ngOnInit() {
|
|
this.lazyLoadService
|
|
.load(
|
|
[
|
|
'primeng.min.css',
|
|
'primeicons.css',
|
|
'primeng-nova-light-theme.css',
|
|
'fontawesome-all.min.css',
|
|
'fontawesome-v4-shims.min.css',
|
|
],
|
|
'style',
|
|
null,
|
|
'head',
|
|
'afterbegin',
|
|
)
|
|
.subscribe();
|
|
}
|
|
}
|
|
|