Electron Tutorial: Building Modern Desktop Apps with Vue.js

Hi @patarapolw. If you’re are distributing your app freely on Github, you will need you ignore your .env file in .gitignore and add iinstructions to your Readme for others to setup the .env file.
However, if you’re distributing it to end users to use on their OS platforms, your .env file will not be visible as your app will be distributed as installables on their respective platforms (Windows, OSX, etc). To learn more about distributing Electron apps you can visit Application Packaging | Electron

1 Like