1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[SM-44] Lazy loaded import and exporters (#2918)

This commit is contained in:
Oscar Hinton
2022-06-28 22:24:21 +02:00
committed by GitHub
parent 74a3b05a0f
commit db3e1a51e9
16 changed files with 189 additions and 77 deletions

View File

@@ -1,10 +1,12 @@
import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { ProvidersModule } from "./providers/providers.module";
const routes: Routes = [
{
path: "providers",
loadChildren: async () => (await import("./providers/providers.module")).ProvidersModule,
loadChildren: () => ProvidersModule,
},
];