mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-24 03:32:51 +02:00
19 lines
460 B
TypeScript
19 lines
460 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import {
|
||
|
RouterModule,
|
||
|
Routes,
|
||
|
} from '@angular/router';
|
||
|
|
||
|
import { LoginComponent } from './accounts/login.component';
|
||
|
|
||
|
const routes: Routes = [
|
||
|
{ path: '', redirectTo: '/login', pathMatch: 'full' },
|
||
|
{ path: 'login', component: LoginComponent },
|
||
|
];
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [RouterModule.forRoot(routes/*, { enableTracing: true }*/)],
|
||
|
exports: [RouterModule],
|
||
|
})
|
||
|
export class AppRoutingModule { }
|