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
3
answers
42
views
Multiselect of Primvue becomes null data when the data is passed to v-model
<MultiSelect id="Color-input"
v-model="DesignData.ColorQty"
options="DesignColors"
optionLabel="colorName"
label="Color&...
0
votes
0
answers
53
views
How to add `tailwindcss` to my Vue + Electron Forge project?
I'm doing my first sample project using Vue + Electron Forge with the template vite+typescript. Now I want to add tailwind but I can't seem to find any useful documentation online.
This is my project ...
0
votes
0
answers
13
views
how to play video of h264 encode in the Electron
have checked and tried the following solutions and a few others:
Cannot play offline video in production electron app
Video tag in electron
Electron video cannot play
Playing local mp4 file in ...
0
votes
1
answer
85
views
Having issues with electron-builder when using extraResources and extraFiles
Environment:
node --version: v18.19.1
package.json:
"dependencies": {
"@electron/remote": "^2.1.2",
"@voerkai18n/runtime": "^2.1.5",
"@voerkai18n/...
0
votes
1
answer
225
views
Electron with shadcn/vue config (src) confusion
As you can see I have two src/components (assets), one is in the root, the other in the /renderer. The root one was created when I added resizable components via "npx shadcn-vue@latest add ...
0
votes
0
answers
37
views
How to add a new Top menu in ElectronJS without any submenu items?
[
{
role: 'help',
submenu: [...]
},
{
label: 'Upgrade',
submenu: [],
}
]
The new menu is also visible if the submenu is an empty array:
I want to show this menu without ...
0
votes
1
answer
143
views
Electron JS/Vue Router Packing Not Working with Electron Builder
Hi I have been trying to trouble shoot this problem for hours and can't figure out a solution. I created an Electron App using Vue 3 Composition and now I am trying to use Electron Builder to package ...
0
votes
0
answers
17
views
How to Detect Dynamically Added or Removed Sources with Electron DesktopCapturer?
I am working on an Electron app that utilizes the desktopCapturer module to fetch sources (both windows and screens), I now need assistance in detecting when new sources are added or existing ones are ...
0
votes
1
answer
53
views
Will Websql stop for already built Electronjs Application as the Websql will stop next year or it will keep working
Really appreciate your support
I Built a couple of ElectronJs Apps that use Websql (they already working), I recently learnt that Websql will stop completely next year, my question is
-will this Apps ...
0
votes
0
answers
15
views
Win10 system, using electron-app to open a shared folder, it gets stuck to the point where other apps won't open either, why?
This electron-app has only one button, clicking on that button will execute the following 3 commands to trigger the opening of the shared folder
net use * /delete
net use \\\share.yafex.cn /user:...
0
votes
0
answers
113
views
Exposing an object in Electron via contextBridge.exposeInMainWorld results in Error 'Cannot read property ... of undefined.'
I am having trouble accessing an object in App.vue that should be exposed via exposedInMainWorld.
Tried this with a plain Electron application without electron-vue and it worked out of the box. In my ...
1
vote
0
answers
277
views
My electron app was recognized by the windows system as a virus and directly deleted,how can i fix it
I used electron to develop a windows app, it was recognized as a virus by the windows system and deleted directly, but because the app we only use for a small number of people within the company, it's ...
0
votes
0
answers
253
views
How to fix this issue using sequelize and electron with vite?
I have created a fresh electron-vite on vue-ts setup from this source https://electron-vite.org/ and installed sequelize. now i am having an error attached here:
error on npm run dev from the package
...
1
vote
0
answers
32
views
If there any methods to disabled Window key in electron js?
I've been working on developing an Online Examination System where it use to prevent students from cheating during the exam. I want to disable window key and other combination key like win + PrtSc.....
0
votes
1
answer
186
views
Is <img :src="require`${JSON.parse(string)}`"> in electron vue is safe from XSS?
QUESTION UPDATED
I am inspecting a client's application written with Vue.js and I found there a following construction.
// Somewhere else in the code
var data = JSON.parse(jsonString);
// In the vue ...
0
votes
0
answers
98
views
In Electronjs <webview> guest page can not get cookie by document.cookie
in guest page
<script>
console.log(document.cookie)
// ""
</script>
But in Developer Tools` Application Cookies has values.
1
vote
1
answer
2k
views
PlayWright Electron: Is it possible to get BrowserWindow from Page?
I'm trying to find the electron window object that contains the loaded page. I want to take the following action:
let window1 : BrowserWindow | null = null
let window2 : BrowserWindow | null = null
...
2
votes
1
answer
5k
views
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 ...
0
votes
1
answer
776
views
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 ...
0
votes
0
answers
239
views
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 ...
0
votes
1
answer
457
views
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. ...
0
votes
0
answers
297
views
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 ...
0
votes
0
answers
189
views
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 ...
0
votes
0
answers
396
views
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 ...
0
votes
0
answers
3k
views
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 ...
2
votes
0
answers
384
views
Vue.js-Electron application with an Apollo client does not receive cookies from a remote API server
I try to build an application with a GraphQL backend (based on Node.js and graphql-yoga). The server is hosted on a Linux machine with nginx as a reverse proxy. The proxy configuration is listed below....
1
vote
2
answers
2k
views
Sending messages through Electron IPCmain channel to vue instance only works one way
I'm tyring to send messages back and forth between the main electron process and the vue instance. What i have so far is
Preload.js:
import { contextBridge, ipcRenderer } from 'electron'
window....
0
votes
1
answer
457
views
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 ...
0
votes
0
answers
121
views
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 ...
3
votes
2
answers
4k
views
Error: ERR_FAILED (-2) loading electronjs when closing and opening new window
I'm trying to open a app loader like window that will open first upon running the app just to cover some async scripts running and upon completion, the loader window will close and open the main ...