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
1 answer

Asynchronously read a file line by line with Electron-vue

I am developing with Electron-vue. I want to read a big text file provided by a user line by line. Also, I want to show a loading icon during the reading (which means the reading should be asynchronous). Please note that the text file is encoded…
lechat
  • 390
  • 2
  • 15
0
votes
1 answer

why electron builder dont include files

I try to include lokiJS (locla json database) to my vue-electron app from a vue-cli-plugin-electron-builder!. src/db/db.js const path = require('path') import * as loki from 'lokijs'; const dbPath = path.resolve('src/db/db.json') let db = new…
Vin
  • 143
  • 1
  • 1
  • 7
0
votes
0 answers

about electron-vue jQuery.verto is not a constructor

I'm using a Verto library in my Vue-electron based project. In my component's methods I have something like this: function newVerto () { vertoHandle = new jQuery.verto({ ... }, vertoCallbacks) } But once I execute it, I receive an…
S.Eric
  • 1
  • 1
0
votes
1 answer

Module not found: can't resolve '../file'

I am working with an app using electron-vue. In windows, yarn run dev just works fine. But then I decided to switch to Ubuntu 18.04 and now everytime I executed yarn run dev, it returns like this: ERROR in…
breekoy
  • 129
  • 13
0
votes
1 answer

Accessing the JSON fulfillmentValue value

I'm new to Vue and I'm using electron-vue boilerplate. I am trying to display some items in Amazon using Promise in NodeJS. I'm using "amazon-product-api" and yes, I have access to the Amazon Product Advertising API. I have written my code in a…
Nine3KiD
  • 473
  • 2
  • 4
  • 20
0
votes
2 answers

electron-vue ~ Cannot update vuex state with RxJS subscribe

I have two functions in my mutations and two state const state = { files: [], uploadProgress: 0 } const mutations = { SET_UPLOAD_IMAGE: (state, files) => { state.files = files }, UPLOAD_IMAGE: (state) => { …
Ken Phanith
  • 53
  • 1
  • 6
0
votes
1 answer

sharing a global var through vue and electron

I had been using electron-vue and I met a few problems when I tried to share a set of global vars through electron and vue. I have tried vuex and i found that changes made in the main process(electron) doesn't appear in chrome process (values are…
Yuxuan Lu
  • 316
  • 4
  • 13
-1
votes
1 answer

Execute an .exe file with Electron and Vue JS

I'm new with Electron and Vue JS and i want to try to execute an .exe file just by clicking on a button but it doesn't work and i don't understand why. I'm using child_process from nodeJS, i have node 18. This is my code :