✨: 添加 withInstall 函数
This commit is contained in:
parent
53697131b6
commit
813c56f86a
@ -1,8 +1,5 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
@ -1,8 +1,5 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
@ -1,8 +1,5 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,5 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component("LayColorPicker", Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
|
||||
import { LayIcon as Component } from "@layui/icons-vue";
|
||||
import { withInstall } from "../../utils"
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
||||
export default Component;
|
||||
|
@ -1,8 +1,5 @@
|
||||
import type { App } from "vue";
|
||||
import { withInstall } from "../utils"
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
export const component = withInstall(Component);
|
||||
export default component;
|
||||
|
3
package/component/src/utils/index.ts
Normal file
3
package/component/src/utils/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export * from "./domUtil"
|
||||
export * from "./guidUtil"
|
||||
export * from "./install"
|
Loading…
x
Reference in New Issue
Block a user