创建路由

ng g route [route-name]命令将为您启动一个新文件夹和路由文件。 在写入时,此功能暂时禁用,因为Angular 2路由正在发生变化。