2018年6月11日

摘要: 我的需求是:在首页中有个tab,分别是 homepart 、carpart 、 minepart。各个模块的part 里还会嵌套子路由 步骤: 1.新建app.router.ts 作为app阶层的路由文件,内容如下 上面是定义了一个常量 appRoutes来管理路由,然后用export 导出,然后下 阅读全文
posted @ 2018-06-11 18:09 温温婉婉 阅读(1443) 评论(0) 推荐(1) 编辑
 
摘要: 删除 node_modules文件夹 不要用cnpm install 用npm install 然后再ng serve 就能启动成功了 阅读全文
posted @ 2018-06-11 11:13 温温婉婉 阅读(265) 评论(0) 推荐(0) 编辑