arthurlee / electron-vue-demo

demo project using Vue in Electron platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

electron-vue-demo

Prepare Environment For Chinese Developer

set registry to taobao

npm config set registry https://registry.npm.taobao.org

Windows

npm config set ELECTRON_MIRROR http://npm.taobao.org/mirrors/electron/

Mac

  • bash
echo "export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/" >> ~/.bash_profile
. ~/.bash_profile
  • zsh
echo "export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/" >> ~/.zshrc
. ~/.ashrc

Project setup

npm install

Compiles and hot-reloads for development Vue

npm run serve

Compiles and hot-reloads for development Vue in Electron

npm run electron:serve

Compiles and minifies for production

npm run electron:build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

demo project using Vue in Electron platform


Languages

Language:JavaScript 47.4%Language:Vue 42.4%Language:HTML 10.3%