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

VueJS 2 electron electron packager error The main entry point to your app was not found. Make sure "background.js" exists

Hi everyone i have made a vuejs2 application with vuetify. I decided later to add electron to package it. here is my file tree when i run npm run npm run electron:build shortcut for my package script command: "electron:build": "vue-cli-service…
floprm
  • 72
  • 2
  • 11
0
votes
0 answers

ElectronJS - How Do I Fix This Weird Warning?

I've been Googling around a bit, but I haven't found any references to what these warnings are: 2023-02-08 07:41:04.835 Electron[22682:539034] ASB: LNW (null) (null) (null) 2023-02-08 07:41:04.840…
Imaginativeone
  • 107
  • 1
  • 2
  • 8
0
votes
0 answers

In Electronjs guest page can not get cookie by document.cookie

in guest page But in Developer Tools` Application Cookies has values.
xiaoyang
  • 81
  • 3
0
votes
1 answer

PlayWright: Page.title() returning empty value. Trying to add automation in electron-vue project

For automated testing, I'm attempting to incorporate Playwright into my electron-vue project. I run the test, and Page.title() returns "". Here is the code: test("renders the screen splash", async () => { let page: Page; page = await…
Nikhil
  • 181
  • 1
  • 15
0
votes
0 answers

How to set each startup parameter '--' to accept multiple https parametersfunction second-instance?

In second-instance, I want to receive data with double URL like The actual operation effect is as follows there is a solution in github https://github.com/electron/electron/issues/34195 But it needs an extra parameter -- I can't do it by…
six
  • 1
  • 1
0
votes
0 answers

Trying to generated the installers of electron app for windows and linux but it doesn't work

I'm using electron-builder through the electron-vue lib (https://github.com/SimulatedGREG/electron-vue). And following the instructions to build the application in this documentation…
0
votes
0 answers

Not able to fork external JavaScript server file in Electron

so I am making an application that requires a backend API, and it uses certain node_modules which don't work when compiling with Electron. To fix this, I put the API code into a separate JavaScript file, which I am attempting to fork using…
Stian
  • 1
  • 3
0
votes
1 answer

Controller not found after publishing project in Asp.net Core

I am having an issue with a controller not being found after I publish my project and run the api application with my front end application in Electron. I can access the controller with visual studio debugger no issues there. Don't know why this is…
DRW
  • 335
  • 1
  • 3
  • 17
0
votes
0 answers

Google Oauth2 consume authorization code to get refresh token with Asp.net Core Web API backend

I am working with VUE 2 and electron with an Asp.net Core Web API backend Backend. Currently I am working to integrate some functionality with google drive the first hurdle that I am running into is getting the authorization tokens for my app. I…
DRW
  • 335
  • 1
  • 3
  • 17
0
votes
1 answer

Electron Vue Router Page Change Not Working

I am calling this.$router.push({ name: "signin" }); in my Electron Vue application (in the BrowserWindow I am loading), but the page is not changing. No error message and no page change. This normally works outside of Electron. Is the behavior of…
user2500558
  • 73
  • 3
  • 10
0
votes
0 answers

Stop Auto Hide Menu Bar (Electron on Mac)

How can you make sure that the menu bar stays active when a BrowserWindow in Electron is visible? Case Explanation: Once you click on my Tray icon, a BrowserWindow is opened with some HTML. Once the cursor moves down from the Mac menu bar, the menu…
0
votes
0 answers

Is there a way to call a function in contextBridge, that won't be read in renderer.js, from main.js in electron?

I hope you are having a good morning. I was wondering if there was a way to call a regular function in contextBridge in preload.js from main.js that will not be read by renderer.js. For example when wanting to call a regular function in…
0
votes
0 answers

Electron built app, set minimum display size

I need to set the minimum width and height on my desktop app when the user runs it after installation. As you see the electron browserWindows changed I already add minWidth & minHeight to BroserWindow, but doesn't work. const win = new…
0
votes
0 answers

Uncaught (in promise) TypeError: Cannot read property 'prototype' of undefined

I'm working in a project with electronjs + vue to implement adb operations in desktop application. For the implementation of this i am using the node library adbkit. When I tried to load script i get an error during the require('adbkit') operation…
0
votes
1 answer

Trouble importing electron-updater

I have trouble integrating electron-updater into my project. I'm working on a windows system. First I install electron-updater (via npm or yarn) which works without problems. Then I load the package via import { autoUpdater } from 'electron-updater'…