> For the complete documentation index, see [llms.txt](https://phoenixcoded.gitbook.io/able-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoenixcoded.gitbook.io/able-pro/angular/how-to/dashboard-as-first-page.md).

# Dashboard as First Page

This section explains how to set the Dashboard page as the default starting page, skipping the landing page, for cases where it is not needed.

AuthGuard is removed from routes to avoid login checks.

1. Update route at:  **src/app/app-routing.module.ts**

<pre class="language-typescript" data-title="app-routing.module.ts"><code class="lang-typescript">// angular import
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

// project import
import { AdminComponent } from './demo/layout/admin';
import { EmptyComponent } from './demo/layout/empty/empty.component';
import { GuestComponent } from './demo/layout/front/guest.component';
<strong>// import { AuthGuardChild } from './@theme/helpers/auth.guard';
</strong>
const routes: Routes = [
{
    path: '',
    component: AdminComponent,
    // canActivateChild: [AuthGuardChild],
    children: [
    {
        path: '',
        redirectTo: '/dashboard/default',
        pathMatch: 'full'
    },
    {
        path: '',
        loadChildren: () => import('./demo/pages/dashboard/dashboard.module').then((m) => m.DashboardModule)
    },

      ...
      ...
  }
</code></pre>
