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
1
vote
0
answers
862
views
Cannot set property of undefined when import promise in vue component
"vue-electron": "^1.0.6"
"electron": "4.2.4"
"webpack": "^4.15.1"
"vue": "^2.5.16"
In a vue component, I import a js file
<template>
...
</template>
<script>
import something from ...
0
votes
1
answer
406
views
Electron vue : One Install overwriting another install
I created an application with electron-vue . I build it using yarn build and all. I was tasked with creating a second app which is very similar with few changes. I made the changes in a branch and ...
3
votes
1
answer
20k
views
Javascript async function returns [object Promise]
Async function returns [object Promise] but desired behavior is returning real value.
I can get the value from console.log.
I guess it is a expected behavior of the function but I have no idea to how ...
1
vote
1
answer
307
views
How do I get result by 'return' from NeDB in vue.js
I am trying to get a data from NeDB in a method in a .vue file using electron-vue.
I know I can get that by putting that to a variable, but I want to get that by 'return' because I want to use the ...
0
votes
1
answer
1k
views
Importing typescript files in preload script using Electron
I currently have a preload.js script that basically adds variables to the window object for a webview. What I want to do is import a typescript file inside the preload script. The preload only ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
167
views
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 =...
3
votes
2
answers
3k
views
how to use vuetify with vue-electron?
I'm using electron-vue to build a vue electron app.
I am also using Vuetify which I am following the manual installation process,
In dev, initially everything works fine and I can run my app and ...
1
vote
1
answer
2k
views
Access Browser Window from menu item in electron-vue
I am trying to add a menu item which will load the url for settings window vue component. I followed this to create my menu .
The problem is how can I have a click here access a method inside my ...
0
votes
0
answers
117
views
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({
...
}, ...
3
votes
3
answers
2k
views
Bootstrap Vue effects not visible in electron vue app (Desktop UI)
I am using Electron-vue to create desktop application. I was trying to use boostrap-vue in my app. When I open the app I can see all the functionality of boostrap(button tables) but none of the ...
2
votes
1
answer
598
views
Using bootstrap-vue components in electron-vue project gives error on data property change
I'm working on a project where I use electron-vue and to make the app look better I use bootstrap-vue. After a lot of debugging, I have found that changing a data property(in the parent component) ...
2
votes
1
answer
3k
views
Electron-vue creating new window
I'm trying to create new window with following code:
createBotWindow() {
const winUrl = process.env.NODE_ENV === 'development' ? `http://localhost:9080/bot` : `file://${__dirname}/index.html`;
...
0
votes
1
answer
2k
views
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:
...
1
vote
0
answers
469
views
Axios not setup properly in Vuex Store - Vue.js & Electron
I'm using electron-vue to build a simple desktop app.
I used all of the standard configurations at the beginning (including adding axios), but I'm currently having an issue getting
Part of my file ...