admin管理员组文章数量:1122846
I am using jsPDF for angular and created custom config file and added this code,
module.exports = {
// ...
externals: {
canvg: "canvg",
html2canvas: "html2canvas",
dompurify: "dompurify"
}
};
The app runs using ng build --watch. I have tried many options but it still gives me an error: ERROR Error: Uncaught (in promise): Error: Could not load dompurify: ReferenceError: dompurify is not defined Error: Could not load dompurify: ReferenceError: dompurify is not defined
Is there any workround for this? Any suggestions will be helpful.
本文标签:
版权声明:本文标题:javascript - Error while using jsPDF( Error: Could not load dompurify: ReferenceError: dompurify is not defined) in Angular 14 a 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736312031a1934954.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论