Routing

  • Every file in the routes directory correspond to a route
  • The routes are nested by default i.e the child route is nested inside the parent route
  • The contents of the child route is inserted into <Outlet />
  • Adding a . to the file name will create / in the URL
  • $ can be used to create dynamic routes
  • Routes can be create without nesting the layout by using a trailing _