My component looks like below.
<template>
<uploader class="uploader-example">
<uploader-unsupport></uploader-unsupport>
<uploader-drop>
<p>Drop files here to upload or</p>
<uploader-btn>select files</uploader-btn>
<uploader-btn :directory="true">select folder</uploader-btn>
</uploader-drop>
<uploader-list></uploader-list>
</uploader>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import uploader from 'vue-simple-uploader';
@Component({
components: {
Uploader: uploader,
},
})
export default class In extends Vue {
}
</script>
My shims-vue.d.ts file looks like below:
declare module '*.vue' {
import Vue from 'vue';
export default Vue;
}
declare module 'vue-simple-uploader';
With above code I am getting below error:
[Vue warn]: Failed to mount component: template or render function not defined.
and also uploader component is not being rendered.
I have used below package.