vue-markdown-editor
vue-markdown-editor copied to clipboard
this.$slots.default is not a function
I have error
this.$slots.default is not a function
render@webpack-internal:///../../node_modules/@kangc/v-md-editor/lib/base-editor.js:5034:20
compatRender@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:4896:21
renderComponentRoot@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:2839:16
componentUpdateFn@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:8833:46
run@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:587:19
I am using vue3 and this lib in latest version.
I added console log on:
this.$slots.default
and there is array instead of function
This context can be helpful: I am using webpack5 with vue3 and see a lot of
(deprecation COMPILER_NATIVE_TEMPLATE) <template> with no special directives will render as a native template element instead of its inner content in Vue 3