You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are open PRs for this issue in vue-next (vuejs/core#2729), and as @CHOYSEN this issue is already tracked in the vue next repo. @zhenzhenChange this is not an issue with Vite.
A workaround is changing the order of imports, so that defineEmit and defineProps are trailing.
Describe the bug
As soon as I import into SFC in this order as 【
{ defineEmit, defineProps, inject }
】, I get this problem.Other than that, there are no errors
Reproduction
This problem is easy to reproduce, just follow the order on the chart to import
System Info
vite
version: v2.0.0-beta.52Logs (Optional if provided reproduction)
The text was updated successfully, but these errors were encountered: