vue2-jsx-runtime icon indicating copy to clipboard operation
vue2-jsx-runtime copied to clipboard

$createElement of undefined

Open a298003154 opened this issue 1 year ago • 3 comments

配置插件之后,会出现这样的 warning 4BD76D5E273316CB478333ACA881B276

是缺失什么配置还是啥呢? swc 配置如你的例子一样

jsc: {
  transform: {
    react: {
      runtime: 'automatic',
      importSource: '@lancerComet/vue2-jsx-runtime',
      throwIfNamespace: false
    }
  }
}

vue 版本:2.7.14 swc 版本:1.3.19

a298003154 avatar Jun 26 '23 07:06 a298003154