Closed maxanstey closed 4 years ago
Thanks for your issue!
It is may cause by the version of vue or webpack conflict.
It is need more infomation. Show the package.json and code if necessary.
I happen to have this same issue
I also have this issue, is there a resolution for this?
I implemented this markdown editor in my site and received the below error:
[Vue warn]: Error in render: "TypeError: _components.default is not a function"
I get this error when I wrap code in triple back-ticks before I state a valid code type (e.g. javascript) so writing ```test``` for example returns a console error 4 times (as test is 4 characters in length.)
I resolved this issue by commenting out the line
(0, _components.default)([lang]);
infunction loadPrismLang(lang)
(c. line 65.)Please let me know if I'm doing something wrong or if my fix is unsuitable. I'm not 100% sure what that piece of code is actually doing.
Thanks