forked from SAP/luigi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
luigi-config.js
61 lines (61 loc) · 1.4 KB
/
luigi-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//you can now use ES6 goodies here
Luigi.setConfig({
navigation: {
contextSwitcher: false,
nodes: () => [
{
pathSegment: 'home',
label: 'Home',
icon: 'home',
viewUrl: '/views/home.html',
children: [
{
pathSegment: 'sample1',
label: 'First',
icon: 'nutrition-activity',
viewUrl: '/views/sample1.html'
},
{
pathSegment: 'sample2',
label: 'Second',
icon: 'paper-plane',
viewUrl: '/views/sample2.html'
},
{
category: { label: 'Links', icon: 'cloud' },
label: 'Luigi Project',
externalLink: {
url: 'https://luigi-project.io/'
}
},
{
category: 'Links',
label: 'JavaScript',
externalLink: {
url: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript'
}
}
]
}
]
},
routing: {
/**
* Development:
* For path routing, set to false
* For hash routing, set to true
*/
useHashRouting: true
},
settings: {
header: {
title: 'Luigi JavaScript',
logo: '/logo.png',
favicon: '/favicon.ico'
},
responsiveNavigation: 'simpleMobileOnly',
appLoadingIndicator: {
hideAutomatically: true
}
}
});