diff --git a/src/app/modules/app-routing.module.ts b/src/app/modules/app-routing.module.ts index d1ee2ce..d468c51 100644 --- a/src/app/modules/app-routing.module.ts +++ b/src/app/modules/app-routing.module.ts @@ -1,5 +1,6 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { LoadingScreenComponent } from '../components/loading-screen/loading-screen.component'; import { MainRoutingModule } from '../components/main/routing.module'; import { PlaygroundComponent } from '../components/playground/playground.component'; import { SandboxComponent } from '../components/sandbox/sandbox.component'; @@ -11,7 +12,7 @@ const routes: Routes = [ component: PlaygroundComponent, }, { - path: '', + path: 'main', loadChildren: () => MainRoutingModule, }, { @@ -22,6 +23,10 @@ const routes: Routes = [ path: 'sign-in', component: SignInComponent, }, + { + path: '', + component: LoadingScreenComponent, + }, ]; @NgModule({