diff --git a/.storybook/main.ts b/.storybook/main.ts index 2aff0a5a..c75e0a27 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -46,7 +46,8 @@ const config = { config.resolve.alias = { ...config.resolve.alias, '#app': fileURLToPath(new URL('../node_modules/nuxt/dist/app', import.meta.url)), - '#app/*': fileURLToPath(new URL('../node_modules/nuxt/dist/app/*', import.meta.url)), + '~/src': fileURLToPath(new URL('../src', import.meta.url)), + '#build': fileURLToPath(new URL('../.nuxt', import.meta.url)), } const { mergeConfig } = await import('vite');