blob: 2718a428e76a49c97f4fc306ec92c36a6af530cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import * as RouteUtils from 'routes/route_utils.jsx';
export default {
path: 'emoji',
getComponents: (location, callback) => {
System.import('components/backstage/backstage_controller.jsx').then(RouteUtils.importComponentSuccess(callback));
},
indexRoute: {
getComponents: (location, callback) => {
System.import('components/emoji/components/emoji_list.jsx').then(RouteUtils.importComponentSuccess(callback));
}
},
childRoutes: [
{
path: 'add',
getComponents: (location, callback) => {
System.import('components/emoji/components/add_emoji.jsx').then(RouteUtils.importComponentSuccess(callback));
}
}
]
};
|