1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-13 10:24:20 +01:00
bitwarden-browser/bitwarden_license/bit-web/src/app/app-routing.module.ts
Oscar Hinton 80ee6d23c3
[SM-45] Scaffold secrets manager module (#2989)
* Scaffold secrets manager module
2022-07-22 11:16:24 +02:00

22 lines
495 B
TypeScript

import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { ProvidersModule } from "./providers/providers.module";
const routes: Routes = [
{
path: "providers",
loadChildren: () => ProvidersModule,
},
{
path: "sm",
loadChildren: async () => (await import("./sm/sm.module")).SecretsManagerModule,
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class AppRoutingModule {}