【发布时间】:2018-10-21 05:06:04
【问题描述】:
ember 可路由引擎中如何定义嵌套路由?我无法导航到超过 2 棵树。像, 例如
All posts
Post
Comments
Comment
我可以访问
localhost:4200/posts/:postid/
但是当我访问时
localhost:4200/posts/:postid/cmets/:commentid
它没有呈现 cmets 模板的内容。但它也没有显示任何错误。
【问题讨论】:
-
你能分享
router.js文件吗?