Этот коммит содержится в:
Corey Hulen
2017-06-30 18:18:04 -07:00
коммит произвёл GitHub
родитель d2eb10b7e6
Коммит 093dfd6c7f
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@@ -328,6 +328,18 @@ export default {
(comarr) => callback(null, {team_sidebar: comarr[0].default, sidebar: comarr[1].default, center: comarr[2].default})
);
}
},
{
path: 'tutorial',
getComponents: (location, callback) => {
Promise.all([
System.import('components/team_sidebar'),
System.import('components/sidebar.jsx'),
System.import('components/tutorial/tutorial_view.jsx')
]).then(
(comarr) => callback(null, {team_sidebar: comarr[0].default, sidebar: comarr[1].default, center: comarr[2].default})
);
}
}
]
}