From c7c4abbc26e90abe8c9ed6093a4941a4b90ad435 Mon Sep 17 00:00:00 2001 From: softsimon Date: Sun, 28 Aug 2022 20:06:15 +0200 Subject: [PATCH] Pre-load Docs --- frontend/src/app/app-routing.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 57fc1483d..2d12bc2e7 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -115,7 +115,8 @@ let routes: Routes = [ }, { path: 'docs', - loadChildren: () => import('./docs/docs.module').then(m => m.DocsModule) + loadChildren: () => import('./docs/docs.module').then(m => m.DocsModule), + data: { preload: true }, }, { path: 'api',