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.

84 questions
0
votes
0 answers

vuetify electron reset form

i'm developing an app with vue, vuetify and electron. I have a form that i can submit, but once submitted,after the reset i can't compile it again, i have all input blank, if i click on an input they appear as active, but can't write inside. i tried…
peppeg85
  • 87
  • 1
  • 11
0
votes
1 answer

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'], "files": [ "**/*" …
A1Gard
  • 4,070
  • 4
  • 31
  • 55
0
votes
2 answers

Electron build failed

Electron build failed. Error: Cannot find module 'fs/promises' Require…
0
votes
1 answer

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 TypeError: Cannot read property 'getFocusedWindow' of…
eli2003
  • 400
  • 5
  • 13
0
votes
1 answer

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 isn't working. The method I call in my Home…
0
votes
1 answer

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. - options[0] misses the property 'patterns'.…
SRR
  • 1,608
  • 1
  • 21
  • 51
0
votes
1 answer

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 written to it until I refresh the page. The line…
SRR
  • 1,608
  • 1
  • 21
  • 51
0
votes
1 answer

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 from 'vue' import Router from 'vue-router' import {…
notbrain
  • 3,366
  • 2
  • 32
  • 42
0
votes
1 answer

Why does textmate modify the file mtime after closing the tab?

I use electron-vue to automatically reload the page, and every time I close the file, textmate automatically update mtime of the file. This was not the case before, and I don't know why.
plusor
  • 69
  • 6
0
votes
1 answer

SyntaxError: Unexpected token ... in serialport in node_modules

I hav been trying to run the vue-electron app. But the following error comes. App threw an error during load C:\newFolder02\pos4-desktop\node_modules\@serialport\stream\lib\index.js:103 const settings = { ...defaultSettings, ...options } …
0
votes
0 answers

Attach Knex as global object in Vue.js Electron

I'm using SimulatedGREG/electron-vue as boiler-plate for electron application. The Application is primarily based on database operation. I want to use the sqlite3 node native module with Knex wrapper. How do I use knex with Vue? as the Vue is…
Kiran Maniya
  • 8,453
  • 9
  • 58
  • 81
0
votes
1 answer

In vue-electron, how to do you bind data between a parent and child components?

I am trying to learn electron-vue by understanding a finished code. For the source, I am using Eplee, which is an epub reader built with vue js + electron Here is the source link to Eplee. https://github.com/Janglee123/eplee