nuxt-modules / storybook

Storybook integration with Nuxt.
https://storybook.nuxtjs.org
411 stars 95 forks source link

Imports from app folder not working #801

Closed g1ronn1mo closed 1 month ago

g1ronn1mo commented 1 month ago

Environment

I am using the nuxt 4 compatability modus.

------------------------------
- Operating System: Linux
- Node Version:     v21.7.1
- Nuxt Version:     3.13.2
- CLI Version:      3.14.0
- Nitro Version:    2.9.7
- Package Manager:  npm@10.8.2
- Builder:          -
- User Config:      -
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction

https://stackblitz.com/~/github.com/g1ronn1mo/storybook-import-error

Describe the bug

I can not import the components inside the app/component folder. Strangely the import from the components folder at the top level works just fine.

Additional context

No response