摘要: 使用cli命令创建根路由模块 ng g cl app.router 或自己建一个路由配置文件 如:app/app.router.ts 在根模块中引入路由, 为特性模块定义的路由在其模块中引入 路由配置 pathMatch?: string; 默认为前缀匹配 "prefix"; "full" 为完全匹 阅读全文
posted @ 2018-05-18 10:22 孟鑫 阅读(165) 评论(0) 推荐(0) 编辑