mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
@petebacondarwin deserves credit for most of this commit.
This allows you to specify a regex and serializer function instead
of the path DSL in your route declaration.
```
@RouteConfig([
{ regex: '[a-z]+.[0-9]+',
serializer: (params) => `{params.a}.params.b}`,
component: MyComponent }
])
class Component {}
```
Closes #7325
Closes #7126
|
||
|---|---|---|
| .. | ||
| route_paths | ||
| rule_set_spec.ts | ||