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
0
votes
1
answer
481
views
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 ...
4
votes
1
answer
2k
views
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) {
...
6
votes
1
answer
2k
views
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 ...
0
votes
2
answers
218
views
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 = ...
7
votes
3
answers
11k
views
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 ...
0
votes
1
answer
1k
views
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)...
2
votes
1
answer
1k
views
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 ...
3
votes
1
answer
3k
views
Electron: Setting the 'fullscreen' flag to false not disabling the fullscreen button on macOS
When creating a new BrowserWindow instance in Electron several flags can be set, one of which being fullscreen.
The description of the flag is the following:
Whether the window should show in ...
5
votes
1
answer
5k
views
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).
<template>
<div>
...
1
vote
1
answer
789
views
How to get button event from iziModal in vuejs
I have an application in electron vue. It build on nodejs. I am added izimodal in my application and it working and showing properly. But i can't use v-model and @click="dntok". which means i can't ...
2
votes
1
answer
740
views
How to natively show the Save Changes Dialog when closing an Electron app?
Im creating an Electron app. I save the user progress in a file. I want the app to show the usual 'Save changes before closing' when the user has not saved and tries to close the App.
I could show a ...