Cannot read properties of undefined (reading 'prototype')
at http://localhost:3000/_nuxt/node_modules/.cache/vite/client/deps/html-to-docx_dist_html-to-docx__esm__js.js?v=f510fc28:4818:78
In my component:
import HTMLtoDOCX from 'html-to-docx/dist/html-to-docx.esm.js
In my component:
import HTMLtoDOCX from 'html-to-docx/dist/html-to-docx.esm.js
in Nuxt 2, this code worked