v2.0.0-rc.5
Pre-release
Pre-release
New
- Route config
redirect
option now supports using a function, which receives the target route as the argument and should return redirect destination. See example. (@fnlctrl) - The
redirect
option's value can now be any valid location descriptor. By default, thequery
andhash
of the original route will be passed along to the redirected route - however they can now be explicitly overwritten by theredirect
option when using the object location descriptor (or by returning it from a function).