@apmp/plugin-intl-ui
v1.1.0
Published
ui插件
Downloads
35
Readme
@miniu/plugin-ui
ui插件
export namespace ISlotUI {
export interface List extends ISlot {
name: 'ui.list';
val: {
name: string;
url: string;
order?: number;
};
}
export interface Emitter extends ISlot {
name: 'ui.emitte';
val: EventEmitter;
}
}
示例:
export default ({ add }) => {
add('ui.list', {
name: 'hello',
url: 'http://localhost:8080',
})
}
$ miniu dev
界面会多一个 hello 的 tab