Define routing for a component. The route must start with a forward splash (/).
@page "/page" @page "/page/link-2" @page "/page/link-3" @page "/page/link-3/child-1" @page "/page/link-3/child-2" <NavLink href="page">Link 1</NavLink> <NavLink href="page/link-2">Link 2</NavLink> <NavLink href="page/link-3">Link 3</NavLink> <NavLink href="page/link-3/child-1">Link 3.1</NavLink> <NavLink href="page/link-3/child-2">Link 3.2</NavLink>