diff --git a/src/vbenComponents/avatar/index.ts b/src/vbenComponents/avatar/index.ts new file mode 100644 index 00000000..aaaca3a5 --- /dev/null +++ b/src/vbenComponents/avatar/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Avatar from './src/Avatar.vue'; + +export const VbenAvatar = withInstall(Avatar); diff --git a/src/vbenComponents/avatar/src/Avatar.vue b/src/vbenComponents/avatar/src/Avatar.vue new file mode 100644 index 00000000..b7b98a28 --- /dev/null +++ b/src/vbenComponents/avatar/src/Avatar.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/icon/index.ts b/src/vbenComponents/icon/index.ts new file mode 100644 index 00000000..63fee07c --- /dev/null +++ b/src/vbenComponents/icon/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Icon from './src/Icon.vue'; + +export const VbenIcon = withInstall(Icon); diff --git a/src/vbenComponents/icon/src/Icon.vue b/src/vbenComponents/icon/src/Icon.vue new file mode 100644 index 00000000..10b9bab8 --- /dev/null +++ b/src/vbenComponents/icon/src/Icon.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/index.ts b/src/vbenComponents/index.ts index 387ebc0a..9d3d1c67 100644 --- a/src/vbenComponents/index.ts +++ b/src/vbenComponents/index.ts @@ -11,6 +11,13 @@ import { VbenTable } from './table'; import { VbenCard } from './card'; import { VbenSpace } from './space'; import { VbenButton } from './button'; +import { VbenAvatar } from './avatar'; +import { VbenStatistic } from './statistic'; +import { VbenSelect } from './select'; +import { VbenInput } from './input'; +import { VbenThing } from './thing'; +import { VbenPopconfirm } from './popconfirm'; +import { VbenIcon } from './icon'; // 初始化组件 // global 是否全局注册 @@ -26,5 +33,12 @@ export function initVbenComponent(app: App, comp: Object, global: boolean = true .use(VbenDivider) .use(VbenSpace) .use(VbenPopover) - .use(VbenButton); + .use(VbenButton) + .use(VbenAvatar) + .use(VbenStatistic) + .use(VbenSelect) + .use(VbenInput) + .use(VbenThing) + .use(VbenPopconfirm) + .use(VbenIcon); } diff --git a/src/vbenComponents/input/index.ts b/src/vbenComponents/input/index.ts new file mode 100644 index 00000000..59f761b8 --- /dev/null +++ b/src/vbenComponents/input/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Input from './src/Input.vue'; + +export const VbenInput = withInstall(Input); diff --git a/src/vbenComponents/input/src/Input.vue b/src/vbenComponents/input/src/Input.vue new file mode 100644 index 00000000..307decc8 --- /dev/null +++ b/src/vbenComponents/input/src/Input.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/popconfirm/index.ts b/src/vbenComponents/popconfirm/index.ts new file mode 100644 index 00000000..e5efec01 --- /dev/null +++ b/src/vbenComponents/popconfirm/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Popconfirm from './src/Popconfirm.vue'; + +export const VbenPopconfirm = withInstall(Popconfirm); diff --git a/src/vbenComponents/popconfirm/src/Popconfirm.vue b/src/vbenComponents/popconfirm/src/Popconfirm.vue new file mode 100644 index 00000000..8eef4e3e --- /dev/null +++ b/src/vbenComponents/popconfirm/src/Popconfirm.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/select/index.ts b/src/vbenComponents/select/index.ts new file mode 100644 index 00000000..1d1fab89 --- /dev/null +++ b/src/vbenComponents/select/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Select from './src/Select.vue'; + +export const VbenSelect = withInstall(Select); diff --git a/src/vbenComponents/select/src/Select.vue b/src/vbenComponents/select/src/Select.vue new file mode 100644 index 00000000..365ffaba --- /dev/null +++ b/src/vbenComponents/select/src/Select.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/statistic/index.ts b/src/vbenComponents/statistic/index.ts new file mode 100644 index 00000000..79e85d4b --- /dev/null +++ b/src/vbenComponents/statistic/index.ts @@ -0,0 +1,4 @@ +import { withInstall } from '/@/utils'; +import Statistic from './src/Statistic.vue'; + +export const VbenStatistic = withInstall(Statistic); diff --git a/src/vbenComponents/statistic/src/Statistic.vue b/src/vbenComponents/statistic/src/Statistic.vue new file mode 100644 index 00000000..43fa3f19 --- /dev/null +++ b/src/vbenComponents/statistic/src/Statistic.vue @@ -0,0 +1,12 @@ + + + + diff --git a/src/vbenComponents/table/src/Table.vue b/src/vbenComponents/table/src/Table.vue index a0195f66..5c7d2f85 100644 --- a/src/vbenComponents/table/src/Table.vue +++ b/src/vbenComponents/table/src/Table.vue @@ -1,6 +1,6 @@