docs(router): fix import and replace RouteConfig (#8433)

This commit is contained in:
Yang Lin 2016-05-21 01:00:04 +08:00 committed by Miško Hevery
parent 55921be1af
commit c6f2b3e96b
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ import {RouterLink} from './src/directives/router_link';
*
* ```
* import {Component} from '@angular/core';
* import {ROUTER_DIRECTIVES, Routes} from '@angular/router-deprecated';
* import {ROUTER_DIRECTIVES, Routes} from '@angular/router';
*
* @Component({directives: [ROUTER_DIRECTIVES]})
* @RouteConfig([
* @Routes([
* {...},
* ])
* class AppCmp {