From a6fdf9c0f1b87d1b5f46b70d281d6de2447abbfa Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Wed, 25 Jun 2025 12:01:07 +0800 Subject: [PATCH] exclude storybook from unplugin-vue-components --- next-ui/vite.config.mts | 1 + 1 file changed, 1 insertion(+) diff --git a/next-ui/vite.config.mts b/next-ui/vite.config.mts index 7b9705b9..a0985823 100644 --- a/next-ui/vite.config.mts +++ b/next-ui/vite.config.mts @@ -39,6 +39,7 @@ export default defineConfig({ }), Components({ dts: 'src/components.d.ts', + globsExclude: ['src/components/*.stories.vue'], directoryAsNamespace: true, collapseSamePrefixes: true, resolvers: [IconsResolver()],