10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
import type { App } from "vue";
|
|
import Component from "./index.vue";
|
|
import type { IDefineComponent } from "../type/index";
|
|
|
|
Component.install = (app: App) => {
|
|
app.component(Component.name || "LayFooter", Component);
|
|
};
|
|
|
|
export default Component as IDefineComponent;
|