vue3-cron icon indicating copy to clipboard operation
vue3-cron copied to clipboard

引入后报错createElementVNode is not a function

Open JanusSpark opened this issue 3 years ago • 1 comments

image 直接打开demo.html也是 vue3Cron.umd.js:250 Uncaught TypeError: Cannot read property 'createElementVNode' of undefined 无论是局部引入还是全局引入都是这个报错 "vue": "^3.0.5" "vite": "^2.3.5"

JanusSpark avatar Sep 07 '21 08:09 JanusSpark

看问题应该是使用方法不对, 直接打开html是不行的 , 这里暴露的是一个vue3的组件, 你需要全局或者局部引入组件之后按实例进行使用

sugdove avatar Sep 07 '21 15:09 sugdove