I use wowjs in vue3, but I keep reporting errors.

my code like this
<script>import { WOW } from "wowjs"; import { onMounted } from "vue"; export default { name: "App", components: { Header, Footer, }, setup() { onMounted(() => { new WOW().init(); }); }, }; </script>
But if I put wow.min.js in the head of index.html, he can work normally, and it keeps reporting the above errors when installing through npm or yarn. I need your help! Thank you!