1
0
mirror of https://github.com/bitwarden/web synced 2025-12-14 07:13:23 +00:00

setup services, accounts components

This commit is contained in:
Kyle Spearrin
2018-06-05 15:02:53 -04:00
parent 28197970bd
commit a4ff241574
25 changed files with 898 additions and 3 deletions

View File

@@ -4,10 +4,19 @@ import {
Routes,
} from '@angular/router';
import { HintComponent } from './accounts/hint.component';
import { LoginComponent } from './accounts/login.component';
import { RegisterComponent } from './accounts/register.component';
import { TwoFactorComponent } from './accounts/two-factor.component';
import { VaultComponent } from './vault/vault.component';
const routes: Routes = [
{ path: '', redirectTo: '/vault', pathMatch: 'full' },
{ path: '', redirectTo: '/login', pathMatch: 'full' },
{ path: 'login', component: LoginComponent },
{ path: '2fa', component: TwoFactorComponent },
{ path: 'register', component: RegisterComponent },
{ path: 'hint', component: HintComponent },
{
path: 'vault',
component: VaultComponent,