Questions tagged [electron-vue]
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.
electron-vue
86
questions
2
votes
2
answers
408
views
Quit Electron from VueJs
I am using vue-cli-electron-builder. So how I can quit the application from a button in vue. Thanks.
2
votes
0
answers
231
views
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 ...
0
votes
1
answer
852
views
electronBuilder can't bundle my resource at all
It's my vue.config.js:
module.exports = {
pluginOptions: {
electronBuilder: {
preload: './src/preload.js',
extraResources: ['resources/myengine'],
...
1
vote
0
answers
120
views
electronjs camera not found on raspiberry pi
So I created an electron app that will open a camera ang scan a QR code, this is the plugin that I'm using https://github.com/schmich/instascan. The html files was done using Vue and tested the output ...
0
votes
2
answers
607
views
Electron build failed
Electron build failed.
Error: Cannot find module 'fs/promises' Require stack:
/Users/abhimatta/Documents/abhishek/accura-electron-dev/node_modules/builder-util/out/fs.js
/Users/abhimatta/Documents/...
1
vote
1
answer
2k
views
My window in Electron doesn't appear no matter what I do, there is something wrong with my code?
Firstly I'm using Vuejs and Electron, the package.json will be in the end of this post.
I'm trying to use this listener to show my window as the Electron's documentation recommend.
win.once("...
1
vote
1
answer
4k
views
How to set application icon in eletron-vue js
I am working with electron-vue js for building cross platform desktop app.
I want to set custom icon when i make build file and want to add product name on app.
But when i set custom icon, it work ...
0
votes
1
answer
586
views
How to bring window into foreground in electron-vue
I want to bring the main BrowserWindow into the foreground after a countdown finished. When calling electron.BrowserWindow.getFocusedWindow().show() in App.vue, i am getting the error
Uncaught ...
0
votes
1
answer
232
views
Window doesn't receive message from IpcRenderer
I'm using Electron + Vue to build my application. I send a message to the main process to create a new window. Inside the main's method I'm trying to pass a message to the newly created window but it ...
1
vote
1
answer
1k
views
Preload not working/compiled correctly in production (Electron-vue SimulatedGREG)
I have a preload script that is working well in development. I've seen here that I either need to use a static file or webpack. I went with the static approach because my knowledge is zero with the ...
1
vote
1
answer
632
views
Electron NativeTheme: Cannot set property 'themeSource' of undefined
currently I am trying to setup a system/light/dark mode switcher in my electron app. For the electron app, I have used the electron-vue library and upgraded then the electron version to 7.3.2.
So now ...
0
votes
1
answer
5k
views
npm run build: ValidationError: Invalid options object. Copy Plugin
I'm trying to package an electron app but I'm getting this error:
ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
...
1
vote
1
answer
2k
views
__dirname is not defined importing electron remote
I have a problem. I want to set up the minimize, maximize and close buttons on a frameless window but I can't due to this problem importing the electron remote. Thanks.
import { remote } from "...
0
votes
1
answer
1k
views
fs.writeFile does not resolve
I'm trying to save an image from a canvas to a file on disk with fs in an Electron app. I'm using async/await but as soon as the function gets called, I see the file gets created but no data is ...
0
votes
1
answer
173
views
vue-material mdAutocomplete inside electron-vue app - setup problems
I am experimenting with electron-vue seed app and have upgraded electron to 8 and vue to the latest versions. I am installing vue-material components in my src/renderer/router/index.js:
import Vue ...