Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 297 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 297 Bytes

Making vitest works with components defined in the nuxt folder

The key is to define a vitest.config.js file that will import plugins like vue, unplugin-auto-import, and unplugin-vue-components then to adequately configure them.

An example that worked for me can be found in this repo.