Skip to main content

All Questions

1 vote
0 answers
52 views

How to pass device ID from Electron main process to Vue app via IPC?

I'm working on an Electron app where I need to send a device ID from the Electron main process to a Vue app. The device ID is generated based on system information, and I'm trying to pass it to the ...
jack's user avatar
  • 391
0 votes
0 answers
50 views

Electron and Vuerouter: "net::ERR_FILE_NOT_FOUND"

The Problem I want to add Electron to my existing Vue Project. I ran in a problem which I can't find a solution for. If I run the following configuration with npm run dev (test in browser and auto ...
rescuemod's user avatar
0 votes
0 answers
86 views

Module Parse Failed when using pdfjs-dist with Electron + Vue

When I import pdfjs-dist in my Electron Vue project, I get the following error: error in ./node_modules/pdfjs-dist/build/pdf.js Module parse failed: Unexpected character '#' (1413:9) You may need an ...
ale10ander's user avatar
0 votes
0 answers
73 views

Error when importing Flowbite JavaScript in Electron Vue application

I am building an Electron application with Vue, Tailwind, and Flowbite for components. However, I am encountering an issue when using Flowbite components that rely on JavaScript. I have followed the ...
Cristyan Henrich's user avatar
0 votes
0 answers
38 views

TypeError: fs__WEBPACK_IMPORTED_MODULE_0___default(...).readFileSync is not a function - Node, Electron, Vue App - fs is undefined

I am trying to programm an app that generates JSON file from a CSV file but i am having problems with reading the CSV-file. Here is the code from my vuex store. Only the imports and the generateJSON() ...
kisa's user avatar
  • 1
1 vote
0 answers
51 views

how to ensure consistent file hashes for Portable Applications with electron-builder

How can i ensure that the file hash value is the same every time electron-builder build a portable application? The premise is not to modify any code or resources, build it straight away twice ...
yinpo's user avatar
  • 53
0 votes
0 answers
35 views

Is it possible to make a dialog float above BrowserView in Electron?

So I'm trying to develop a browser with Electron, and I've made the tabs and address bar, but I'm having a problem when developing the downloading feature. My expectation is to show a dialog after ...
LaurenceY's user avatar
0 votes
0 answers
34 views

How can I set the application logo with Electron-Vue?

My file structure looks like this: The main.ts file: const mainWindow = new BrowserWindow({ height: 725, minHeight: 725, width: 1200, minWidth: 1200, icon: 'C://Users//Admin//...
Baur's user avatar
  • 1
0 votes
1 answer
164 views

Vue - Export Rendered HTML from v-html component

I am using sheetjs to generate some HTML from an Excel range, using the sheet_to_html() function. I then use that HTML to render a table using v-html. The user can then perform some actions to the ...
Yolo_chicken's user avatar
  • 1,361
0 votes
0 answers
35 views

vue js code is not getting update old code is still there

i am developing electron JS application using VueJS now my issue is even after i change the code in a file it's not getting updated now my new code is there but with this name offlineHandler.js?a123 ...
Thalinda Bandara's user avatar
0 votes
0 answers
186 views

Include external 'exe' files in electron application - Quasar Framework

I'm developing an electron application in Quasar framework. This application has an external dependency (An 'exe' file). I am calling these dependencies via execFileSync and I got spawn errors while ...
Viki's user avatar
  • 180
3 votes
0 answers
214 views

how can I use multithreading in electron-vite-vuejs?

I'm trying to use the separate thread in my electronjs app, for creating the app I used this way https://github.com/electron-vite/electron-vite-vue and in my main process in index.ts file I create ...
Vahan's user avatar
  • 48
0 votes
0 answers
55 views

TypeError: Failed to execute 'put' on 'Cache': Request scheme 'app'

My service worker is throwing this error when I run the app: My app's stack is: Vite + Electron, I think I need to disable service worker in vite.config.ts, but I don't know how.
David Murasov's user avatar
1 vote
0 answers
307 views

How to properly connect native node module (node-gyp) in to electron vue renderer process?

I have built my native node module using electron-rebuild -v 24.4.0 and moved in to my [email protected] empty project generated by vite. I'm able to import and call functions from this native node ...
Andrey Shostik's user avatar
2 votes
1 answer
1k views

Electron - how to fetch a file from a local path and create a blob file

I have this code in my background.js file of an electron app. ipcMain.on('init', (event, ...args) => { fileSelector = dialog.showOpenDialog({ title: 'Select template', ...
OHICT's user avatar
  • 451

15 30 50 per page
1
2 3 4 5
13