整理 src/index.js
This commit is contained in:
parent
d492c496bd
commit
fa984e7665
@ -4,7 +4,6 @@ import type { IDefineComponent, InstallOptions } from "./module/type/index";
|
|||||||
import "./css/layui.css";
|
import "./css/layui.css";
|
||||||
import "@layui/layer-vue/lib/index.css";
|
import "@layui/layer-vue/lib/index.css";
|
||||||
import "@layui/icons-vue/lib/index.css";
|
import "@layui/icons-vue/lib/index.css";
|
||||||
|
|
||||||
import { layer } from "@layui/layer-vue";
|
import { layer } from "@layui/layer-vue";
|
||||||
|
|
||||||
import LayModal from "./module/layer/modal/index";
|
import LayModal from "./module/layer/modal/index";
|
||||||
@ -198,9 +197,9 @@ export {
|
|||||||
LayCarousel,
|
LayCarousel,
|
||||||
LayCarouselItem,
|
LayCarouselItem,
|
||||||
LayColorPicker,
|
LayColorPicker,
|
||||||
LayModal,
|
LayModal
|
||||||
install,
|
|
||||||
layer,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export { layer };
|
||||||
|
|
||||||
export default { install };
|
export default { install };
|
||||||
|
@ -10,10 +10,7 @@ export type IDefineComponent<Props = UnknownObject> = DefineComponent<Props> & {
|
|||||||
install: (app: App, options?: InstallOptions) => void;
|
install: (app: App, options?: InstallOptions) => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface InstallOptions extends StringObject {
|
export interface InstallOptions extends StringObject {}
|
||||||
pagination?: null;
|
|
||||||
menu?: null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export type Nullable<T> = T | null;
|
export type Nullable<T> = T | null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user