If it works as an SPA, it will work in Electron. Because it extends your regular config, it works with all plugins and customized webpack options. All the functions of VCP Electron Builder are entirely configurable and well documented. VCP Electron Builder provides tools for easy debugging and testing, powered by Spectron. Open a terminal in the directory of your app created with Vue-CLI 3 or 4 (4 is recommended). Then, install and invoke the generator of vue-cli-plugin-electron-builder. Native modules are supported and should work without any configuration, assuming node integration is enabled. If you get errors, you may need to set the native dependency as a webpack external. Preload files allow you to execute JS with Node integration in the context of your Vue App (shared window variable). Read Vue ClI's documentation to learn about using environment variables in your app.
Features
- Write once, run everywhere
- Completely customizable
- Testing and debugging support
- Vue CLI plugin Electron builder
- Easily build your Vue.js app for desktop with Electron
- All the functions of VCP Electron Builder are entirely configurable