[修复] 导出所有组件用于import引入
This commit is contained in:
parent
797e24ee16
commit
38e1e38d81
13
src/index.ts
13
src/index.ts
@ -69,7 +69,7 @@ import LayInputNumber from "./module/inputNumber/index";
|
|||||||
import LaySkeleton from './module/skeleton/index';
|
import LaySkeleton from './module/skeleton/index';
|
||||||
import LaySkeletonItem from './module/skeletonItem/index';
|
import LaySkeletonItem from './module/skeletonItem/index';
|
||||||
|
|
||||||
const components: Record<string, IDefineComponent> = {
|
export const components: Record<string, IDefineComponent> = {
|
||||||
LayRadio,
|
LayRadio,
|
||||||
LayButton,
|
LayButton,
|
||||||
LayIcon,
|
LayIcon,
|
||||||
@ -144,11 +144,9 @@ const install = (app: App, options?: InstallOptions): void => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
LaySkeleton,
|
|
||||||
LaySkeletonItem,
|
|
||||||
LayRadio,
|
LayRadio,
|
||||||
LayIcon,
|
|
||||||
LayButton,
|
LayButton,
|
||||||
|
LayIcon,
|
||||||
LayBacktop,
|
LayBacktop,
|
||||||
LayLayout,
|
LayLayout,
|
||||||
LaySide,
|
LaySide,
|
||||||
@ -202,7 +200,12 @@ export {
|
|||||||
LayCarousel,
|
LayCarousel,
|
||||||
LayCarouselItem,
|
LayCarouselItem,
|
||||||
LayColorPicker,
|
LayColorPicker,
|
||||||
LayLayer
|
LayLayer,
|
||||||
|
LayTooltip,
|
||||||
|
LayInputNumber,
|
||||||
|
LaySkeleton,
|
||||||
|
LaySkeletonItem,
|
||||||
|
LayCountUp,
|
||||||
};
|
};
|
||||||
|
|
||||||
export { layer };
|
export { layer };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user