-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
autoImport for utils directory doesn't work correctly. #27257
Comments
Could you come up with a reproduction? |
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect. If How can I create a reproduction?We have a couple of templates for starting with a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz A public GitHub repository is also perfect. 👌 Please ensure that the reproduction is as minimal as possible. See more details in our guide. You might also find these other articles interesting and/or helpful: |
I've tested the sample project what nuxt provides. |
I've just checked the auto-imports example project locally and it works fine. Make sure you haven't made any changes which might have an impact on this. A valid reproduction is still needed to be able to help you. Note the title of your issue mentions the |
I encountered a similar issue previously, and it was related to my project directory's permissions. Perhaps you could try moving your project to another folder, ensuring that the directory is writable, and then run your project again. Make sure that your .nuxt folder is writable, as it is generated when you |
Environment
css, sourcemap
Reproduction
.
Describe the bug
custom components inside components directory are imported automatically but not fuctions in utils directory.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: