This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Description
Thanks in advance.
I got a Vue component(suppose ComponentX.vue) and added the following code to it. It shows [Vue warn]: Component is missing template or render function. got any solution to this?
Using Vue 3 with Inertia
<template>
<VueDiff :mode="mode" :theme="theme" :language="language" :prev="prev" :current="current"></VueDiff>
</template>
<script>
import VueDiff from 'vue-diff';
import 'vue-diff/dist/index.css';
export default {
components: {
VueDiff,
},
data() {
return {
mode: 'split',
theme: 'dark',
language: 'plaintext',
prev: 'prev',
current: 'current',
}
},
}
</script>