Skip to content

Rest path params

Follow documentation of the path-to-regexp npm package

Example:

ts
import { Route } from "mobx-route";

export const serviceRoute = new Route('/services/:serviceId{/*rest}');

Released under the MIT License.