vue2-jsx-runtime
vue2-jsx-runtime copied to clipboard
$createElement of undefined
配置插件之后,会出现这样的 warning
是缺失什么配置还是啥呢? swc 配置如你的例子一样
jsc: {
transform: {
react: {
runtime: 'automatic',
importSource: '@lancerComet/vue2-jsx-runtime',
throwIfNamespace: false
}
}
}
vue 版本:2.7.14 swc 版本:1.3.19