Added angular frontend #70
This commit is contained in:
21
kdb-web/src/app/app.component.ts
Normal file
21
kdb-web/src/app/app.component.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { AuthService } from './services/auth/auth.service';
|
||||
import { ThemeService } from './services/theme/theme.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss']
|
||||
})
|
||||
export class AppComponent implements OnInit {
|
||||
|
||||
constructor(
|
||||
public authService: AuthService,
|
||||
public themeService: ThemeService,
|
||||
) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
this.themeService.loadTheme();
|
||||
this.themeService.loadMenu();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user