Skip to content

Commit

Permalink
try to resolve nuxt pathes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Jul 30, 2024
1 parent 7d36df7 commit 6bc0cb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6bc0cb9

Please sign in to comment.