aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-04-06 19:01:01 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-04-06 19:08:28 +0200
commit4ccd73c2d12b7d961bd7c4028717f6754da66972 (patch)
tree74e397b6bfac8c3931c67826a38eb54dbc5878ec /src/plugins
parent2293f63a793e625657f59e59888f3e899097a766 (diff)
downloadit-tools-4ccd73c2d12b7d961bd7c4028717f6754da66972.tar.gz
it-tools-4ccd73c2d12b7d961bd7c4028717f6754da66972.tar.zst
it-tools-4ccd73c2d12b7d961bd7c4028717f6754da66972.zip
feat(dx): auto resolve vue components
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/naive.plugin.ts119
1 files changed, 2 insertions, 117 deletions
diff --git a/src/plugins/naive.plugin.ts b/src/plugins/naive.plugin.ts
index 077abf9..2ec9b15 100644
--- a/src/plugins/naive.plugin.ts
+++ b/src/plugins/naive.plugin.ts
@@ -1,118 +1,3 @@
-import {
- create,
- NAlert,
- NAutoComplete,
- NButton,
- NCard,
- NCode,
- NCollapse,
- NCollapseItem,
- NCollapseTransition,
- NColorPicker,
- NConfigProvider,
- NDatePicker,
- NDivider,
- NDropdown,
- NDynamicInput,
- NEllipsis,
- NEmpty,
- NForm,
- NFormItem,
- NGradientText,
- NGrid,
- NGridItem,
- NH1,
- NH2,
- NH3,
- NIcon,
- NImage,
- NInput,
- NInputGroup,
- NInputGroupLabel,
- NInputNumber,
- NLayout,
- NLayoutSider,
- NMenu,
- NMessageProvider,
- NModal,
- NP,
- NPageHeader,
- NPopconfirm,
- NProgress,
- NResult,
- NScrollbar,
- NSelect,
- NSlider,
- NSpace,
- NStatistic,
- NSwitch,
- NTable,
- NTag,
- NText,
- NTimePicker,
- NTooltip,
- NUpload,
- NUploadDragger,
- NPopover,
- NCheckbox,
-} from 'naive-ui';
+import { create } from 'naive-ui';
-const components = [
- NCheckbox,
- NDynamicInput,
- NDatePicker,
- NCode,
- NGradientText,
- NScrollbar,
- NImage,
- NUploadDragger,
- NTable,
- NStatistic,
- NDivider,
- NInputGroup,
- NInputGroupLabel,
- NTag,
- NResult,
- NEllipsis,
- NPageHeader,
- NMessageProvider,
- NLayout,
- NLayoutSider,
- NMenu,
- NDropdown,
- NH2,
- NH3,
- NP,
- NAlert,
- NTooltip,
- NModal,
- NEmpty,
- NUpload,
- NSelect,
- NAutoComplete,
- NProgress,
- NCollapse,
- NCollapseItem,
- NSlider,
- NPopconfirm,
- NGrid,
- NGridItem,
- NButton,
- NConfigProvider,
- NCard,
- NInput,
- NColorPicker,
- NInputNumber,
- NSpace,
- NH1,
- NForm,
- NFormItem,
- NTimePicker,
- NText,
- NIcon,
- NSwitch,
- NCollapseTransition,
- NPopover,
-];
-
-export const naive = create({ components });
+export const naive = create();