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:
@@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user