You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
KaKi87 88e4994342 🧑‍💻 Update clone script: open shell in working directory 3 months ago
src-electron 🚚 Split 'src' directory into 'src-electron' & 'src-vue' directories 4 months ago
src-vue@3e0a19bee7 ♻️ Move 'src-vue' directory to git submodule 4 months ago
.gitignore Add build script 5 months ago
.gitmodules ♻️ Move 'src-vue' directory to git submodule 4 months ago
README.md 📝 As per 914aec1 3 months ago
build.mjs 🚚 Split 'src' directory into 'src-electron' & 'src-vue' directories 4 months ago
clone.sh 🧑‍💻 Update clone script: open shell in working directory 3 months ago
config.example.js Add spellcheck configuration 4 months ago
main.js 🚚 Split 'src' directory into 'src-electron' & 'src-vue' directories 4 months ago
package.json 🔧 Move 'vue' from 'dependencies' to 'devDependencies' 5 months ago
start.mjs 🚚 Split 'src' directory into 'src-electron' & 'src-vue' directories 4 months ago
yarn.lock Add build script 5 months ago

README.md

template-electron17-vue3-parcel2

Opinionated Electron 17.x + Vue 3.x + Parcel 2.x template

Specs

  • process.env.NODE_ENV available from renderer script
  • Configurable
    • development server port
    • title & menu bar visibility
    • icon
    • 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-parcel2/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-parcel2.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