v2.0.0: Rename "background.js" to "main.js" and "main.js" to "renderer.js"
See original GitHub issueWouldn’t it make more sense to call main process as main.js
and renderer process as renderer.js
?
Right now it’s kind of backwards.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Electron js Tutorial - 3 - Main and Renderer Process - YouTube
Electron js Tutorial - 3 - Main and Renderer Process ; Courses - https://learn.codevolution.dev/ ; Support UPI - https://support.
Read more >How to communicate between other.js and background.js in ...
What you are looking for is: import {ipcRenderer} from 'electron'; instead of import ipcRenderer from 'electron';.
Read more >JavaScript modules - MDN Web Docs
This guide gives you all you need to get started with JavaScript module syntax. A background on modules. JavaScript programs started off pretty ......
Read more >Building Desktop Apps With Electron And Vue
In this tutorial, Timi Omoyeni explains what you need to keep in mind when building a desktop application with Vue.js using the Vue...
Read more >Common mistakes to avoid while working with Vue.js
Include template compiler. My first issue was a pretty basic one. The first thing to do in order to use Vue.js is to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I personally think it is fine. With that said, it is easy to achieve this in your project.
@AlexSHoffman You should only have to update the
vue.config.js
. Can you try following @AssetKid’s suggestion with a blank repo? If it doesn’t work can you upload it to Github and post a link so I can fix the issue.