The aim of electron-vue is to remove the need of manually setting up electron apps using vue. electron-vue takes advantage of vue-cli for scaffolding, webpack with vue-loader, electron-packager or electron-builder, and some of the most used plugins like vue-router, vuex, and so much more.
Questions tagged [electron-vue]
84 questions
7
votes
3 answers
How to get the tray icon scale correctly in macos electron?
I've tried 32x32, 64x64, and I've tried to use Photoshop to edit another app's icon into my icon to keep its size but it never works with me. It seems that my icon is double-sized and I can't get the whole icon to be visible.

Yuxuan Lu
- 316
- 4
- 13
5
votes
1 answer
Apply Sqlite/Any SQL Database Migrations with Electron [Windows, Mac]
My Scenario,
I am working on a desktop based application. Where My big challenge is keeping data into relational DB(Offline) and sync accordingly(Company have their own syncing algorithm). I am using Electron and VueJS as client side. For building…

Mohammad Ashraful Islam
- 1,879
- 15
- 29
5
votes
1 answer
Load images from local disk
I currently get my hands on electron with the electron-vue boilerplate.
My goal is to show all images from a given folder in the application (renderer process).
4
votes
1 answer
Mac application asking for accessibility permission repeatedly
I have created a Mac application written in electron-vue.
It requires keyboard access and screen recording access.
Ideally, when I give permission it should start working immediately.
But my app sometimes work after restarting.
Sometimes, It…

Pramod
- 768
- 1
- 12
- 27
4
votes
1 answer
Vuex Electron: Exception when committing mutation
I am writing an Electron app using Vue and Vuex.
My store is as follows (counter.js):
const state = {
main: 5
};
const mutations = { // synchronous tasks
INCREMENT_MAIN_COUNTER (state) {
state.main++;
}
};
const getters = {
count:…

Aman Singh
- 934
- 9
- 16
3
votes
2 answers
Error: ERR_FAILED (-2) loading electronjs when closing and opening new window
I'm trying to open a app loader like window that will open first upon running the app just to cover some async scripts running and upon completion, the loader window will close and open the main window, below is my attempt
let mainWindow;
let…

Juliver Galleto
- 8,831
- 27
- 86
- 164
3
votes
1 answer
vue-router should route on click, not working
I am trying to create a navigation and when someone clicks. It should navigate to another Vue.component.
Note: This app is Electron+Vue based, but it should work as normal Vue Project, as i've tried same concept in other Electron+Vue Project…

welcomegkm
- 354
- 1
- 13
3
votes
1 answer
Javascript async function returns [object Promise]
Async function returns [object Promise] but desired behavior is returning real value.
I can get the value from console.log.
I guess it is a expected behavior of the function but I have no idea to how to fix my code.
This is in vue.js code using…

user4565857
- 155
- 1
- 2
- 9
3
votes
2 answers
how to use vuetify with vue-electron?
I'm using electron-vue to build a vue electron app.
I am also using Vuetify which I am following the manual installation process,
In dev, initially everything works fine and I can run my app and add vuetify components, no problem.
Then I run a…

Brad
- 8,044
- 10
- 39
- 50
3
votes
3 answers
Bootstrap Vue effects not visible in electron vue app (Desktop UI)
I am using Electron-vue to create desktop application. I was trying to use boostrap-vue in my app. When I open the app I can see all the functionality of boostrap(button tables) but none of the styling associated with it (color, font etc..)
Am I…

Praveen
- 557
- 1
- 5
- 20
2
votes
0 answers
How to integrate monaco editor with electron-vue?
I tried the monaco samples in https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md
I had some success, but when I use the electron-vue, I receive the following error:
Uncaught Error: Cannot find module 'monaco-editor'
at…

w m
- 21
- 1
2
votes
0 answers
Including executable file to be called in Electron Vue app
I'm creating an Electron GUI that needs to calls an executable file that takes command line arguments.
I've included the executable in public/libs/internalTool.exe of the project folder structure. Now I want to use it in the application as such…

Mike R
- 302
- 1
- 5
- 14
2
votes
1 answer
Using bootstrap-vue components in electron-vue project gives error on data property change
I'm working on a project where I use electron-vue and to make the app look better I use bootstrap-vue. After a lot of debugging, I have found that changing a data property(in the parent component) that is linked to bootstrap components props. It…

Gaute Haugen
- 103
- 1
- 2
- 15
2
votes
1 answer
Electron-vue creating new window
I'm trying to create new window with following code:
createBotWindow() {
const winUrl = process.env.NODE_ENV === 'development' ? `http://localhost:9080/bot` : `file://${__dirname}/index.html`;
this.availableWindows[1] = new BrowserWindow({
…

BT101
- 3,666
- 10
- 41
- 90
2
votes
1 answer
How to pass an array of migration instances in umzug config
I'm using umzug to run the migrations in my electron-vue app, because of the webpack I can't use the path like
migrations: {
path: __dirname + '/../migrations',
pattern: /\.js$/
}
So I heard I can pass migrations instances, but I don't know…

Wuzi
- 386
- 7
- 17