Electron
Less than 1 minute
Electron
URL mode
This mode will first start the vite service, and Electron uses the Url address for rendering
Get code from GitHub
Electron code is in the electron-main branch
# clone electron-main branch code
git clone -b electron-main https://github.com/vbenjs/vue-vben-admin vben-admin-electron
Install dependencies
pnpm
Tips
Downloading Electron dependencies for the first time will be slow. You can create a .npmrc
file in the project root directory and fill in the following content.
ELETRON_MIRROR=https://npm.taobao.org/mirrors/electron/
Rrun
pnpm dev:app
Pack
pnpm build:app
Standard mode
TODO: to be adapted