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 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
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 thedefineProps
function is macro function. so just removeimport { defineProps } from 'vue'
with.vue
file can resolve this warnningDescribe alternatives you've considered remove
import { defineProps } from 'vue
to fix itAdditional context