This commit is contained in:
KaKi87 2022-03-24 13:28:27 +01:00
parent 7683f71431
commit 542273db1f
4 changed files with 6 additions and 16 deletions

View File

@ -1,16 +1,11 @@
# `template-electron17-vue3-parcel2`
# `template-electron17-vue3`
Opinionated [Electron](https://github.com/electron/electron) 17.x + [Vue](https://github.com/vuejs/vue) 3.x + [Parcel](https://github.com/parcel-bundler/parcel) 2.x template
![](./src-electron/assets/icon.png)
Opinionated [Electron](https://github.com/electron/electron) 17.x + [Vue](https://github.com/vuejs/vue) 3.x template
## Specs
- `process.env.NODE_ENV` available from renderer script
- Configurable
- development server port
- title & menu bar visibility
- icon
- CORS
- spellcheck
- Developer-friendly
@ -28,14 +23,14 @@ Opinionated [Electron](https://github.com/electron/electron) 17.x + [Vue](https:
### Automated
`curl -s https://git.kaki87.net/KaKi87/template-electron17-vue3-parcel2/raw/branch/master/clone.sh | bash -s hello-world`
`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 :
```bash
git clone --recurse-submodules https://git.kaki87.net/KaKi87/template-electron17-vue3-parcel2.git hello-world
git clone --recurse-submodules https://git.kaki87.net/KaKi87/template-electron17-vue3.git hello-world
cd hello-world
rm -r .git
git init
@ -55,8 +50,4 @@ Start development server using `yarn start`
Create production build using `yarn build`
(outputs production file in `build`)
Develop everything inside `src`
---
![](https://i.goopics.net/3l6wo9.png)
Develop everything inside `src-electron` & `src-vue`

View File

@ -26,7 +26,6 @@ const
preload: path.join(__dirname, './src-electron/preload.js'),
spellcheck: isSpellcheckEnabled
},
icon: path.join(__dirname, './src-electron/assets/icon.png'),
frame: isTitleBarEnabled,
show: false
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

@ -1 +1 @@
Subproject commit f3dc3b6f5bc95188cb58480050f40df7d8c7f493
Subproject commit 7ee2b48ea4e6d11ca8fb9233c125af59bbe5d24a