mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-03 12:17:38 +08:00
24 lines
565 B
TypeScript
24 lines
565 B
TypeScript
import { Component } from 'vue';
|
|
import { FrameworkLifeCycles, MicroApp } from 'qiankun';
|
|
|
|
interface AppOption {
|
|
name: string;
|
|
entry: string;
|
|
props: Record<string, any>;
|
|
}
|
|
|
|
export interface PluginBuildConfig {
|
|
qiankun?:
|
|
| {
|
|
main?: {
|
|
apps: AppOption[];
|
|
lifeCycles?: FrameworkLifeCycles<MicroApp>;
|
|
[key: string]: any;
|
|
};
|
|
micro?: {};
|
|
}
|
|
| false;
|
|
}
|
|
|
|
export const MicroApp: Component;
|
|
export const MicroAppWithMemoHistory: Component; |