Skip to content

pure-admin/electron-pure-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-pure-admin

中文 | English

electron1 electron2 electron3

安装依赖

yarn install

启动

# 桌面端
yarn dev
# 浏览器端
yarn browser:dev

打包

# 桌面端
yarn build
# 浏览器端
yarn browser:build

yarnelectron 支持更友好

常见问题

  1. yarn 安装 electron 时卡住,只需要执行下面命令即可解决
yarn config set electron_mirror https://npmmirror.com/mirrors/electron/
  1. 打包安装后页面一直处在加载状态

VITE_PUBLIC_PATH 打包路径环境变量需要配置为 ./