Creates a router for use with Meiosis.
Required:
routeConfig
Optional:
rootPath
string
Generated using TypeDoc
Creates a router for use with Meiosis.
Required:
routeConfig
: the mapping of route paths to string identifiers. See RouteConfig for details.Optional:
rootPath
(string
): indicates to use history mode instead of hash mode by specifying the root path. See RouterConfig for details.