2022-06-22 19:24:49 +08:00
|
|
|
import { Component } from 'vue';
|
2022-03-29 11:06:45 +08:00
|
|
|
import { FrameworkLifeCycles, MicroApp } from 'qiankun';
|
|
|
|
|
|
|
|
interface AppOption {
|
|
|
|
name: string;
|
|
|
|
entry: string;
|
|
|
|
props: Record<string, any>;
|
|
|
|
}
|
|
|
|
|
2022-06-22 19:24:49 +08:00
|
|
|
declare module '@fesjs/fes' {
|
|
|
|
interface PluginBuildConfig {
|
|
|
|
qiankun?:
|
|
|
|
| {
|
|
|
|
main?: {
|
|
|
|
apps: AppOption[];
|
|
|
|
lifeCycles?: FrameworkLifeCycles<MicroApp>;
|
|
|
|
[key: string]: any;
|
|
|
|
};
|
|
|
|
micro?: {};
|
|
|
|
}
|
|
|
|
| false;
|
|
|
|
}
|
2022-03-29 11:06:45 +08:00
|
|
|
|
2022-06-22 19:24:49 +08:00
|
|
|
export const MicroApp: Component;
|
|
|
|
export const MicroAppWithMemoHistory: Component;
|
2022-03-29 11:06:45 +08:00
|
|
|
}
|