This commit is contained in:
Chiefsoft Works
2022-10-02 21:06:34 -04:00
parent 3fce9a195f
commit 65056b8c40
+5 -3
View File
@@ -1,4 +1,6 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({ @Component({
selector: 'app-home', selector: 'app-home',
@@ -7,10 +9,10 @@ import { Component } from '@angular/core';
}) })
export class HomePage { export class HomePage {
constructor() {} constructor(private router: Router) {}
startLogin(){ startLogin(){
alert(1000); // alert(1000);
this.router.navigate(['/dash'])
} }
} }