diff --git a/packages/storybook-nuxt/src/preset.ts b/packages/storybook-nuxt/src/preset.ts index 59b6256..a082831 100644 --- a/packages/storybook-nuxt/src/preset.ts +++ b/packages/storybook-nuxt/src/preset.ts @@ -99,8 +99,7 @@ async function defineNuxtConfig(baseConfig: Record) { plugins[index] = vuePlugin() } else { - // Handle the case where the plugin with name 'vite:vue' was not found - console.error('Plugin \'vite:vue\' not found in the array.') + plugins.push(vuePlugin()) } baseConfig.plugins = plugins extendedConfig = mergeConfig(config, baseConfig)