Answer the question
In order to leave comments, you need to log in
How to solve the problem with "HTMLElement is not defined" on next?
From similar solution approaches tried this:
" https://dev.to/swyx/how-to-use-web-components-with... "
" https://nextjs.org/docs/advanced-features/dynamic -... "
" https://www.debugcn.com/en/article/5996534.html " I
include this library:
https://www.npmjs.com/package/@raiffeisen-ecom/pay...
import PaymentPageSdk from '@raiffeisen-ecom/payment-sdk'
const paymentPage = new PaymentPageSdk(publicKey, {
url: testURL
}) // "HTMLElement is not defined"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question