fes.js/packages/fes-plugin-qiankun/types.d.ts
2022-11-10 17:48:34 +08:00

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;