Redirects

Explanation

When a route matches, it can redirect to another route. This is done using the route's respond function that returns an object with a redirect property.

Live Demo

Use the three buttons at the top of the Sandbox to toggle view modes. Clicking the menu button in the top left corner opens a menu to switch between files.

  1. Explanation
  2. Live Demo