mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-26 20:28:48 +01:00
21 lines
532 B
TypeScript
21 lines
532 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Akveo. All Rights Reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*/
|
|
import { Component, OnInit } from '@angular/core';
|
|
import { AnalyticsService } from './@core/utils/analytics.service';
|
|
|
|
@Component({
|
|
selector: 'ngx-app',
|
|
template: '<router-outlet></router-outlet>',
|
|
})
|
|
export class AppComponent implements OnInit {
|
|
|
|
constructor(private analytics: AnalyticsService) {
|
|
}
|
|
|
|
ngOnInit(): void {
|
|
this.analytics.trackPageViews();
|
|
}
|
|
}
|