[修复] 导出所有组件用于import引入

This commit is contained in:
castleiMac 2022-01-08 11:24:42 +08:00
parent 797e24ee16
commit 38e1e38d81

View File

@ -69,7 +69,7 @@ import LayInputNumber from "./module/inputNumber/index";
import LaySkeleton from './module/skeleton/index';
import LaySkeletonItem from './module/skeletonItem/index';
const components: Record<string, IDefineComponent> = {
export const components: Record<string, IDefineComponent> = {
LayRadio,
LayButton,
LayIcon,
@ -144,11 +144,9 @@ const install = (app: App, options?: InstallOptions): void => {
};
export {
LaySkeleton,
LaySkeletonItem,
LayRadio,
LayIcon,
LayButton,
LayIcon,
LayBacktop,
LayLayout,
LaySide,
@ -202,7 +200,12 @@ export {
LayCarousel,
LayCarouselItem,
LayColorPicker,
LayLayer
LayLayer,
LayTooltip,
LayInputNumber,
LaySkeleton,
LaySkeletonItem,
LayCountUp,
};
export { layer };