0

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?

yaxx
  • 529
  • 1
  • 6
  • 22

1 Answers1

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