First, install the package. Unlike html2canvas , it has no dependencies: npm i html-to-image. Next, in your component, import it:
確定! 回上一頁