Replies: 3 comments
-
I am having a similar issue, I opened this question for it, #24766 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I registered this problem on issue tab. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The solution that worked for me: ` ... more code here resolve: { Vitest finally stopped barking at nuxt imports. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using Vitest for testing on Nuxt3, vite env.
Due to our team's convention, the configuration uses 'autoImport: false'. So when importing Nuxt's built-in items (useRoute, nextTick, computed, etc.) we use import '#imports'.
When I run Vitest, the following error occurs:
How do I solve this? help.
Below is my vitest.config.js.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions