# electron-vite-template **Repository Path**: etocode/electron-vite-template ## Basic Information - **Project Name**: electron-vite-template - **Description**: 基于vite+electron LTS的模板,借助electron next的新特性和vite以及rollup的速度,可以让您能够快速开发 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: mini-main - **Homepage**: https://zh-sky.gitee.io/electron-vue-template-doc/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 120 - **Created**: 2024-07-31 - **Last Updated**: 2025-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Electron-Vite-template ![GitHub Repo stars](https://img.shields.io/github/stars/umbrella22/electron-vite-template) [![vue](https://img.shields.io/badge/vue-3.5.16-brightgreen.svg)](https://github.com/vuejs/vue-next) [![vite](https://img.shields.io/badge/vite-6.3.5-brightgreen.svg)](https://github.com/vitejs/vite) [![element-ui](https://img.shields.io/badge/element-plus-brightgreen.svg)](https://www.npmjs.org/package/element-plus) [![electron](https://img.shields.io/badge/electron-34.5.8-brightgreen.svg)](https://github.com/electron/electron) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/umbrella22/electron-vite-template/blob/master/LICENSE) [国内访问地址](https://gitee.com/Zh-Sky/electron-vite-template) ### 请确保您的 node 版本大于等于 20,并使用 `npm` 作为包管理工具 #### 如何安装 ```bash npm config edit # 该命令会打开npm的配置文件,请在空白处添加 # registry=https://registry.npmmirror.com # electron_mirror=https://cdn.npmmirror.com/binaries/electron/ # electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/ # 然后关闭该窗口,重启命令行. npm install # 启动之后,会在9080端口监听 npm run dev # build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置 npm run build ``` --- # [更新日志](/CHANGELOG.md)