Skip to content

The out-of-the-box template for the electron desktop application based on the vue framework is constantly updated

Notifications You must be signed in to change notification settings

qiufeihong2018/vue-cli-electron-builder-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-builder-demo

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

更新

使用 npm run build 打包完成后,在 dist 目录下使用 python 起一个静态服务器

例如,可以 python -m SimpleHTTPServer 7777 起一个端口位7777的静态服务器

vue.config.js 文件里的配置设置为 http://localhost:7777/dist_electron/

tip

#强制指定npm拉取淘宝源

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

npm config set disturl https://npm.taobao.org/dist --global

npm config set electron_mirror https://npm.taobao.org/mirrors/electron/ --global

About

The out-of-the-box template for the electron desktop application based on the vue framework is constantly updated

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published