fes.js/packages/fes-plugin-qiankun/types.d.ts

24 lines
565 B
TypeScript
Raw Normal View History

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-11-10 17:48:34 +08:00
export interface PluginBuildConfig {
qiankun?:
| {
main?: {
apps: AppOption[];
lifeCycles?: FrameworkLifeCycles<MicroApp>;
[key: string]: any;
};
micro?: {};
}
| false;
2022-03-29 11:06:45 +08:00
}
2022-11-10 17:48:34 +08:00
export const MicroApp: Component;
export const MicroAppWithMemoHistory: Component;