README
document
)
setExcludes(list: Arrayexclude resources file (js or css) which in the subapp
start()
start micro service. it will call single-spa's start method
registerMicroApp(app: AppObj)
Interface AppObj {
name: string;
/**
* e.g. http://0.0.0.0:9000/index.html
*/
entry: string;
/**
* if activeRule return true, will call this method, only called once.
*/
render(obj: {appContent: string, loading: boolean});
activeRule(location) => boolean;
}
example
# it will listen the ports of 8080, 9000, 9001
npm run install:example
npm start