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
Is your feature request related to a problem? Please describe.
i use this lib, it show me [@vue/compiler-sfc] defineProps is a compiler macro and no longer needs to be imported. in console
Describe the solution you'd like
see source, find .vue component use setup script, import defineProps from vue.
but the defineProps function is macro function.
so
just remove import { defineProps } from 'vue' with .vue file can resolve this warnning
Describe alternatives you've considered
remove import { defineProps } from 'vue to fix it
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
i use this lib, it show me
[@vue/compiler-sfc]
definePropsis a compiler macro and no longer needs to be imported.
in consoleDescribe the solution you'd like
see source, find
.vue
component usesetup script
, importdefineProps
from vue.but the
defineProps
function is macro function.so
just remove
import { defineProps } from 'vue'
with.vue
file can resolve this warnningDescribe alternatives you've considered
remove
import { defineProps } from 'vue
to fix itAdditional context
The text was updated successfully, but these errors were encountered: