Closed yuideveloper closed 3 years ago
The guide is for Vue2.
For Vue3, you have to const app = createApp()
and app.use()
...
(Not tested, but it might work)
I'll find time to upgrade to Vue 3
Thank you for your willingness to look into this. If this helps, I currently receive the following:
Component is missing template or render function.
``
I'm getting this even in Vue2 despite following the instructions in the README and on the website. Specifically:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <VueShowdown>
<Description> at src/components/Description.vue
<Pane>
<Splitpanes>
<Pane>
<Splitpanes>
<Day> at src/components/Day.vue
<App> at src/App.vue
<Root>
Got same error, please help to fix
Busy developing VuePress 2 these days. I'll upgrade this lib soon
v3.0.0 is released :tada:
Let me know if you meet any problems.
Hello,
I attempted to add Vue Showdown into a Vue 3 app following the steps shown here. Unfortunately, the component does need seem to render. Is Vue Showdown compatible with Vue 3? Is the a JSFiddle or otherwise that proves this out?
Thank you.