DEV Community

loading...

Why Electron, not just fat JAR or executable server, or just a bunch of HTML/CSS/JS?

patarapolw profile image Pacharapol Withayasakpunt ・1 min read

BTW, how do I convert server fat JAR into *.exe / *.app?

I think Neutralino.js falls into the second category as well. It is just superficially windowed.

BTW, using Neutralino.js with Vue CLI necessitates these settings.

// vue.config.js

module.exports = {
  outputDir: 'dist/app',
  assetsDir: 'assets'
}
Enter fullscreen mode Exit fullscreen mode

Where neutralino-* is at dist/, and there are at least

  • dist/app/settings.json
  • dist/app/assets/neutralino.js
  • <script src="/neutralino.js"></script> in dist/app/index.html
  • dist/storage/ folder

Discussion (0)

pic
Editor guide