Route configuration. This is an Object for which the properties are the ids of the route segments, and the values are either:
:
for path parameters. May also contain ?
and/or &
for query string parameters.[path, nestedConfig]
or [path, inheritArray, nestedConfig]
.Generated using TypeDoc
Route configuration. This is an Object for which the properties are the ids of the route segments, and the values are either:
:
for path parameters. May also contain?
and/or&
for query string parameters.[path, nestedConfig]
or[path, inheritArray, nestedConfig]
.const routeConfig = { Home: "/", User: ["/user/:name?param1", { Profile: "/profile?param2¶m3", Preferences: ["/preferences", ["name"]] }] };