Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron iframe require is not defined

iframe.onload = function () {
  const iframeWin = iframe.contentWindow
  iframeWin.require = window.require
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #iframe #require #defined
ADD COMMENT
Topic
Name
9+9 =