sango-tech / vue3-mermaid

MIT License
1 stars 2 forks source link

Failed to mount component: template or render function not defined #2

Open ayoubgm opened 2 years ago

ayoubgm commented 2 years ago

Hello, I've try to use vue3-mermaid component, I have tried to install vue3-mermaid in combination with vue.js 2.6.12.

Following the readme I have used: npm install --save vue3-mermaid

Then I added the following lines to my main.js file: import Vue3Mermaid from "vue3-mermaid"; Vue.use(Vue3Mermaid);

When I am starting vue with: npm run serve

it results in the following Warning message on the terminal console :

warning in ./node_modules/vue3-mermaid/src/vue3-mermaid.js "export 'h' was not found in 'vue

and i getting an error on navigator: [Vue warn]: Failed to mount component: template or render function not defined.

Help please.

saturnonfire commented 2 years ago

Same issue

abinhho commented 2 years ago

@ayoubgm @saturnonfire Please note this package is using for Vue3 only.

satish123satish123 commented 1 year ago

I am using Vue3 I got this error: component is missing template or render function.