@reframe/path-to-regexp
v0.3.2
Published
Routing with [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp).
Downloads
10
Readme
@reframe/path-to-regexp
Routing with path-to-regexp
.
Note that @reframe/path-to-regexp
doesn't use the npm module path-to-regexp
directly, but uses React Router's wrapper react-router/matchPath
.
Usage
// reframe.config.js
module.exports = {
$plugins: [
require('@reframe/path-to-regexp') // npm install @reframe/path-to-regexp
]
};