页面导航的路由器路径

Router path for page navigation

当我们从一个页面导航到另一个页面时,路由器出现问题。

假设当我们在模板 1 中并且我们需要去 templete2.Then 我们做 Router.go(/templete2) right.I 需要在 URl templete1/templete2.请帮助我。

在您的 router.js 文件中尝试以下操作

Router.route('template1/template2',function() {  
    this.render('template2');
 });