docs(router): alias
should be as
This commit is contained in:
parent
ac3e624d0f
commit
3154cea0bf
@ -17,7 +17,7 @@ import {Location} from './location';
|
||||
|
||||
* ```
|
||||
* @RouteConfig({
|
||||
* path: '/user', component: UserCmp, alias: 'user'
|
||||
* path: '/user', component: UserCmp, as: 'user'
|
||||
* });
|
||||
* class MyComp {}
|
||||
* ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user