10 lines
270 B
TypeScript
Raw Normal View History

2021-12-25 00:09:30 +08:00
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
2021-09-27 06:09:33 +08:00
Component.install = (app: App) => {
2021-12-25 00:09:30 +08:00
app.component(Component.name || "LayButton", Component);
};
2021-09-27 06:09:33 +08:00
2021-12-25 00:09:30 +08:00
export default Component as IDefineComponent;