Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shellyln/vue-electron-typescript-quickstart
A boilerplate of Electron app that uses Vue in TypeScript.
https://github.com/shellyln/vue-electron-typescript-quickstart
boilerplate boilerplate-template electron javascript quickstart starter typescript vue vuejs
Last synced: about 1 month ago
JSON representation
A boilerplate of Electron app that uses Vue in TypeScript.
- Host: GitHub
- URL: https://github.com/shellyln/vue-electron-typescript-quickstart
- Owner: shellyln
- Created: 2019-01-16T22:27:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T16:01:24.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T02:26:54.746Z (7 months ago)
- Topics: boilerplate, boilerplate-template, electron, javascript, quickstart, starter, typescript, vue, vuejs
- Language: TypeScript
- Size: 5.56 MB
- Stars: 30
- Watchers: 3
- Forks: 7
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-electron-typescript-quickstart
A boilerplate of Electron app that uses Vue in TypeScript.
This is based on the output of Vue CLI 3 and is not ejecting from the CLI.## Usage
```
git clone https://github.com/shellyln/vue-electron-typescript-quickstart.git
cd vue-electron-typescript-quickstartvi package.json
# and edit package name, author, ...rm package-lock.json
npm installrm -rf .git/
git init
git add .
git commit -m "initial commit."npm run build
npm run build:mainproc
npm start
```---
## Project setup
```
npm install
```### ~~Compiles and hot-reloads for development~~
```
npm run serve
```### Compiles and minifies for production (electron renderer process)
```
npm run build
```### Compiles and minifies for production (electron main process)
```
npm run build:mainproc
```### Clean project
```
npm run clean
```### Start electron app for debug
```
npm run start
```### Build electron distribution executable files (unpacked)
```
npm run pack
```### Build electron distribution executable files (packing to the installer)
```
npm run dist
```### Run your tests
```
npm run test
```### Lints and fixes files
```
npm run lint
```### Run your unit tests (renderer process)
```
npm run test:unit
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).---
## **Electron Documentation (security)**
See [this](https://electronjs.org/docs/tutorial/security) guide.