Step 2: Routing + nested layouts
Add primary routes, a Projects layout, and nested child routes.
1. Create the dashboard
export class DashboardPage {}<import from="../components/app-shell"></import>
<app-shell>
<h1 au-slot="title">Dashboard</h1>
<a au-slot="actions" load="../projects">View Projects</a>
<p>Welcome to Project Pulse. Use the Projects page to manage tasks.</p>
</app-shell>2. Create placeholder child pages
3. Create the Projects layout with child routes
4. Wire up the root routes
Last updated
Was this helpful?