In the first terminal:
cd front-end
npm run serve
In the second terminal:
electronize start
- Open
electron.net-vue.csproj
and uncomment the piece under "UNCOMMENT FOR PRODUCTION" - Open
Startup.cs
and comment out the piece under "COMMENT FOR PRODUCTION" - Follow instructions at Electron.NET #Build
(for example runelectronize build /target win
)
Feel free to replace vue app in front-end
directory with your
own configuration
rm -r front-end
vue create -n front-end
But remember to set
configureWebpack: {
target: 'electron-renderer',
}
in vue.config.js
so you can use features like
const { ipcRenderer } = require("electron");
inside your vue app