Meteor 流路由器不适用于根url
我遇到了一个奇怪的问题,Flow Router没有触发根url的操作Meteor 流路由器不适用于根url,meteor,flow-router,Meteor,Flow Router,我遇到了一个奇怪的问题,Flow Router没有触发根url的操作 FlowRouter.route '/', name: 'home' action: -> BlazeLayout.render 'appLayout', header: 'header', main: 'home' 这将提供一个空白页面,但当我将路由更改为其他内容(如“/dog”)并转到该URL时,将触发操作并呈现页面 我使用的是流量路由器2.10.1
FlowRouter.route '/',
name: 'home'
action: ->
BlazeLayout.render 'appLayout', header: 'header', main: 'home'
这将提供一个空白页面,但当我将路由更改为其他内容(如“/dog”)并转到该URL时,将触发操作并呈现页面
我使用的是流量路由器2.10.1