-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Provide nuxt module #2044
Copy link
Copy link
Closed as not planned
Description
Clear and concise description of the problem
If one uses vitest with nuxt, one encounters a couple of issues:
aliasare not resolved correctly- auto-import of components is not working
- config needs to be specified in
vite.config.tsinstead ofnuxt.config.ts
Suggested solution
Provide a Nuxt module that takes care of these issues by forwarding the nuxt config to vitest.
Alternative
Manual config with workarounds such as https://github.com/nuxt/framework/discussions/5379#discussioncomment-2942984
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels