vue引入vant报错“export ‘Fragment‘ (imported as ‘_Fragment‘) was not found in ‘vue‘

vue2对应vant2, 举个例子
“vant”: “^2.12.6”,
“vue”: “^2.6.10”

vue3 对应vant3
“vant”: “^3.0.0”,
“vue”: “^3.0.0”,

否则会报告警
vue引入vant报错“export ‘Fragment‘ (imported as ‘_Fragment‘) was not found in ‘vue‘_第1张图片

你可能感兴趣的:(vue,vue.js)