1
我在HTML5应用程序中使用Durandal。我想在加载的应用程序中首先显示Login View而不是主页,如何显示特定的视图。Durandal登录页面显示
router.map([
{ route: 'login', title: 'Login', moduleId: 'viewmodels/login', nav: true }
]).buildNavigationModel();
log(app.title + 'Loaded!', null, true);
return router.activate("login");
由于提前
ineffablep