Skip to content

arthurlee/electron-vue-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published