用户第一次加载应用显示这个页面?
The user loads the app for the first time display this page?
当用户首次加载应用时显示此页面。这应该很简单,但我对如何做到这一点感到困惑。我知道如何创建路线和 link 它们。
我需要创建索引路由吗?
Router.map(function() {
//Show this route first
});
默认情况下有一个索引路由。你应该只实现 templates/index.hbs
它就会被渲染。
当用户首次加载应用时显示此页面。这应该很简单,但我对如何做到这一点感到困惑。我知道如何创建路线和 link 它们。 我需要创建索引路由吗?
Router.map(function() {
//Show this route first
});
默认情况下有一个索引路由。你应该只实现 templates/index.hbs
它就会被渲染。