Open xxSkyy opened 2 years ago
Is this still an issue? It might be working since many fixes landed in @vue/vue3-jest
.
@lmiller1990 It is. with latest jest
packages and @vue/vue3-jest
I'm still receiving errors like ReferenceError: computed is not defined
if it's not imported in component.
For #1 - does Nuxt auto import ref
, computed
etc? In the post it says
If you're familiar with Githubissues.
Githubissues is a development platform for aggregating issues.
Nuxt 3 provides auto import for script-setup for composable functions (not only)
Info about: https://www.storyblok.com/mp/nuxt3-best-features
Example: https://codesandbox.io/s/dazzling-butterfly-7eo67
It'd be great to support it, for now it throws errors like
ReferenceError: ref is not defined
if you won't import it manually