MicroApp 微应用
1. 结构声明
- TS Declaration
- JSON Schema
class MicroApp extends BaseNode {
framework: 'qiankun' | 'icestark';
name: string = '';
routePrefix: string;
proxyPrefix: string;
loginUrl: string;
noAuthUrl: string;
notFoundUrl: string;
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"framework": {
"type": "string",
"enum": [
"qiankun",
"icestark"
]
},
"name": {
"type": "string"
},
"routePrefix": {
"type": "string"
},
"proxyPrefix": {
"type": "string"
},
"loginUrl": {
"type": "string"
},
"noAuthUrl": {
"type": "string"
},
"notFoundUrl": {
"type": "string"
}
},
"required": [
"framework",
"name",
"routePrefix",
"proxyPrefix",
"loginUrl",
"noAuthUrl",
"notFoundUrl"
],
"additionalProperties": false
}