1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +00:00

stub out angular app with webpack 4

This commit is contained in:
Kyle Spearrin
2018-06-04 23:10:41 -04:00
parent 425029783b
commit bf796fe80c
16 changed files with 8486 additions and 7132 deletions

View File

@@ -0,0 +1,24 @@
import { NgModule } from '@angular/core';
import {
RouterModule,
Routes,
} from '@angular/router';
import { VaultComponent } from './vault/vault.component';
const routes: Routes = [
{ path: '', redirectTo: '/vault', pathMatch: 'full' },
{
path: 'vault',
component: VaultComponent,
},
];
@NgModule({
imports: [RouterModule.forRoot(routes, {
useHash: true,
/*enableTracing: true,*/
})],
exports: [RouterModule],
})
export class AppRoutingModule { }