-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RC-8 composables auto-imports regression for /composables/<folder>/index.ts #14576
Labels
Comments
Have a look at the following PR introduced in the RC 7: nuxt/framework#6025 |
HomWang
referenced
this issue
in HomWang/framework
Aug 15, 2022
problem source: https://github.com/nuxt/framework/issues/6614 solve source: nuxt#6025
in nuxt.config.ts add
|
7 tasks
Thank you! I missed the changed on the documentation / migration guide indeed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
(I ran this on stackblitz, but I reproduce on local with a more "complex" setup)
RootDir: /home/projects/github-cqsm6q-nwppro
Nuxt project info:
Linux
v16.14.2
3.0.0-rc.8
npm@7.17.0
vite
css
-
-
Reproduction
/composables/afolder/index.ts
-> Nuxt will complain this doesn't exists, but it should be auto-imported.
The exported members of this file isn't present in the
.nuxt/imports.d.ts
nor.nuxt/auto-imports.d.ts
.https://stackblitz.com/edit/github-cqsm6q-nwppro?file=pages/index.vue
Describe the bug
The exported members of modules under
/composables/<any-folder>/index.[jt]s
are not auto-imported anymore.Additional context
Replacing the
nuxt
dependency from3.0.0-rc.8
to3.0.0-rc.3
makes the project work as expected.Logs
No response
The text was updated successfully, but these errors were encountered: