FlowRouter.route '/',
name: 'Landing'
action: ->
BlazeLayout.render 'MainLayout', main: 'landing'
FlowRouter.route '/aesthetics-test/intro',
name: 'aesthetics-testintro'
action: ->
BlazeLayout.render 'MainLayout', main: 'aesTest', aesMain: 'aesIntro'
MainLayout.tpl.jade ~~~
main
+navBar
+Template.dynamic(template=main)
着陆所有图像渲染。通过FlowRouter路由到美学-testintro所有渲染(保持MainLayout模板)。手动重新加载页面,即使它们出现在控制台检查中并且路径正确,导航栏中的favicon和img也会停止工作。有谁知道发生了什么?
要查看此内容,您可以转到http://www.gametree.me/ 如果你去那里,点击浏览,然后刷新页面导航栏中的图像中断。让我知道您希望看到的任何其他代码。