how to use v-annotator package
ping40 opened this issue · 2 comments
ping40 commented
source code in stackblitz
from a new Nuxt project, I run :
npm install v-annotator
and modify app.vue, as following:
<template>
<div>
<NuxtWelcome />
test 1234
</div>
<v-annotator text="test for annotation" />
</template>
<script lang="ts">
import VAnnotator from 'v-annotator';
export default Vue.extend({
components: {
VAnnotator,
},
});
</script>
I got following error:
what's wrong with me ?
any suggest is appreciated, thank you .
ping40 commented
I use vue3, but v-annotator bases on vue 2.
qinglongheu commented
I use vue3, but v-annotator bases on vue 2.
do you know how to use it?