Am working with angular 6 and electron 2. so I have a modal which works in browser but not working in electron any idea on how I should go about this?
Asked
Active
Viewed 1,695 times
0
-
1Any errors in console? also posting your code would be helpful to find what's wrong. – Patryk Brejdak Aug 31 '18 at 07:05
-
1Without code no one can help you. – spring Sep 01 '18 at 15:39
1 Answers
1
It could be that you are having problems using jquery in electron.
That problem was already solved here: Electron: jQuery is not defined
Load jquery in your index.html before other libraries that have it as dependency
<script>window.$ = window.jQuery = require('jquery');</script>

kterry
- 116
- 2
- 3