Go to file
KaKi87 0ab3031495 🚚 As per 109d86f 2022-03-24 14:04:08 +01:00
src-electron 📝 As per 914aec1 & 109d86f 2022-03-24 13:28:27 +01:00
src-vue@7ee2b48ea4 📝 As per 914aec1 & 109d86f 2022-03-24 13:28:27 +01:00
.gitignore ♻️ Migrate Vue from bundled mode to ESM mode 2022-03-17 12:55:54 +01:00
.gitmodules ♻️ Move 'src-vue' directory to git submodule 2022-03-21 16:18:49 +01:00
README.md 📝 As per 914aec1 & 109d86f 2022-03-24 13:28:27 +01:00
build.mjs 🔥 As per 109d86f 2022-03-21 16:33:06 +01:00
clone.sh 🚚 As per 109d86f 2022-03-24 14:04:08 +01:00
config.example.js ♻️ Migrate Vue from bundled mode to ESM mode 2022-03-17 12:55:54 +01:00
index.html 💄 Add 'destyle.css' dependency & 'color-scheme: dark' rule 2022-03-24 13:19:57 +01:00
main.js 📝 As per 914aec1 & 109d86f 2022-03-24 13:28:27 +01:00
package.json 🚚 As per 109d86f 2022-03-24 14:04:08 +01:00
start.mjs ♻️ Migrate Vue from bundled mode to ESM mode 2022-03-17 12:55:54 +01:00
yarn.lock 🔥 As per 109d86f 2022-03-21 16:33:06 +01:00

README.md

template-electron17-vue3

Opinionated Electron 17.x + Vue 3.x template

Specs

  • Configurable
    • title & menu bar visibility
    • CORS
    • spellcheck
  • Developer-friendly
  • Cross-platform
    • start & build scripts
    • builds (AppImage for Linux, NSIS for Windows, DMG for Mac)
  • Fully dark app & DevTools
  • Shows window once ready

Installation

Automated

curl -s https://git.kaki87.net/KaKi87/template-electron17-vue3/raw/branch/master/clone.sh | bash -s hello-world

Manual

Clone existing repo & create new repo :

git clone --recurse-submodules https://git.kaki87.net/KaKi87/template-electron17-vue3.git hello-world
cd hello-world
rm -r .git
git init
git add .
git commit -m ":tada: Initial commit"

Install dependencies : yarn install

Create configuration file : cp config.example.js config.js

Usage

Start development server using yarn start (outputs temporary files in .parcel-cache & dist)

Create production build using yarn build (outputs production file in build)

Develop everything inside src-electron & src-vue