The example for switch-route in the README shows the definition of a routes const but gives no clue how to use it