Electron community reinvented electron-builder/etc. as electron-forge. How to package Quasar w/ electron-forge? #16380
Unanswered
MichaelJCole
asked this question in
CLI - Electron mode
Replies: 2 comments
-
Would like to know this as well :/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've done a bit more research on this, and electron-forge uses the electron-packager under the hood. It seems to be a convenience/configuration package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Electron Forge is the new open source electron builder and it works out of the box with examples for code signing and whatnot. It's a big improvement over electron-builder/etc. It's been on version 6.x for about a year.
https://www.electronforge.io/
There is a vite+typscript example you can create like this:
The forge.config.ts lists 3 targets. Preload and main_window get the default config. main.ts gets a special config to compile libs like axios for node instead of browser.
**What's the best way to package Quasar w/ electron-forge?
Thank you!**
forge.config.ts
vite.main.config.ts
main.[preload|renderer].config.ts
package.json
Beta Was this translation helpful? Give feedback.
All reactions