DEV Community

Discussion on: Vite + Vue 3 + electron + TypeScript

Collapse
 
jenueldev profile image
Jenuel Oras Ganawed

This video might help,,, its better to use something like context bridge in our preloadjs to create apis for our frontend. It is recommended by the electron documentation..
https://www.youtube.com/watch?v=h9rSUxZkEQw&list=PLwlbj033Wc51ZwPQx3bYO1eb2PProKgBX&index=6&t=617s

Collapse
 
falcort profile image
Falcort

Thanks a lot, it worked !