Using Class Components without @Options
annotation leads to "Transform failed"
#2787
Closed
6 tasks done
@Options
annotation leads to "Transform failed"
#2787
Describe the bug
According to vuejs/vue-class-component#406, when using Class Components with Vue 3, the
@Options
annotation is optional.However, when leaving the annotation out, vite throws the following error:
Reproduction
[email protected]
dependencySystem Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: yarn
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: