layui/src/component/carousel/index.ts

10 lines
272 B
TypeScript
Raw Normal View History

2021-12-24 16:09:30 +00:00
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
Component.install = (app: App) => {
2021-12-24 16:09:30 +00:00
app.component(Component.name || "LayCarousel", Component);
};
2021-12-24 16:09:30 +00:00
export default Component as IDefineComponent;