-
Notifications
You must be signed in to change notification settings - Fork 5
/
app.yao
38 lines (36 loc) · 988 Bytes
/
app.yao
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
{
"xgen": "1.0",
"name": "xgen dev app",
"short": "devapp",
"description": "LOL manage system by Yao.",
"version": "0.10.4",
"setup": "scripts.init.setData",
"adminRoot": "admin",
"token": {
"storage": "localStorage"
},
"menu": { "process": "flows.menu", "args": [] },
"optional": {
"remoteCache": false,
/**
* This is a new feature of the yao v0.10.4
* layout:
* 1-column: one column for menu and sub-menu
* 2-columns: menu and sub-menu in two column
*
* hide: hide the menu and sub-menu
* showName: show the name of the menu
*/
"menu": { "layout": "2-columns", "showName": true },
/**
* Admin:
* - PATH: {"api":"/neo"}
* - URL: {"api":"http://localhost:5099/api/__yao/neo"}
*
* Studio:
* - Studio PATH: {"api":"/neo", "studio":true }
* - Studio URL: {"api":"http://localhost:5077/neo", "studio":true }
*/
"neo": { "api": "/neo" }
}
}