import_dom.default.init is not a function Planned
I am trying to use the dom
import memberstackDOM from '@memberstack/dom';
const memberstack = memberstackDOM.init({
publicKey:'pk_',
});
But I am getting an error "import_dom.default.init is not a function" . Does anyone know what this could be?
Comments
2 comments
Hey Andreas Wagner 👋
Do you have a url so we can see the error live?
I have loaded the library
memberstack.js
as a static scriptand I am not able to call init function as well.
Here are the functions available for $memberstackDom and init() is not there
Please sign in to leave a comment.