when i use electron to load web pages and the webpage have used requirejs function loading with iframe, but i get the following error : require is not defined, is there any way solving this problem?
This appears to be a duplicate of the following topic:
We like to unify similar discussions under one topic so that people don’t have to read a bunch of different threads to get the whole story. Please continue the discussion there. I’ll be closing this topic as duplicate.
at first,thanks for you reply,as you konw,i can use jquery libirary with electron after do that, and the issue is somewhere i use iframe load the html,I cited a js file in it, in the js file it quoted a require is not defined,so i want to know how iframe works with require based on electron,Hope I said didn’t confuse you.
the error is:require is not defined in the content.html
ok. i am a newer, sorry for that
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.