# electron_project **Repository Path**: d-jj/electron_project ## Basic Information - **Project Name**: electron_project - **Description**: electron开发框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-26 - **Last Updated**: 2025-06-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # micro_electron_tool An Electron application with Vue ## Recommended IDE Setup - [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) ## Project Setup ### Install ```bash $ npm install ``` ### Development ```bash $ npm run dev ``` ### Build ```bash # For windows $ npm run build:win # For macOS $ npm run build:mac # For Linux $ npm run build:linux ``` ### 搭建 Electron + Vue项目 1. 安装依赖 (node版本>=14.0.0) ```bash $ npm create @quick-start/electron --template vue ``` or ```bash $ yarn create @quick-start/electron --template vue ``` or ```bash $ pnpm create @quick-start/electron --template vue ``` 根据提示依次完成: 1)、项目名称 2)、项目框架(vue) 3)、typescript(no) 4)、Electron updater plugin(No) 5)、Electron mirror proxy(Yes) 2. 安装依赖 ```bash $ npm install ``` or ```bash $ yarn install ``` or ```bash $ pnpm install ``` 2. 运行项目 ```bash $ npm run dev ``` 3. 打包项目 ```bash # For windows $ npm run build:win # For macOS $ npm run build:mac # For Linux $ npm run build:linux ```