Go to file
cys cfd81b0d76 个人中心开发 2024-07-17 14:16:50 +08:00
resources init 2024-07-08 16:24:56 +08:00
src 个人中心开发 2024-07-17 14:16:50 +08:00
.editorconfig init 2024-07-08 16:24:56 +08:00
.env.development init 2024-07-08 16:24:56 +08:00
.eslintignore init 2024-07-08 16:24:56 +08:00
.eslintrc.cjs init 2024-07-08 16:24:56 +08:00
.gitignore 修改排除文件 2024-07-08 17:16:34 +08:00
.npmrc init 2024-07-08 16:24:56 +08:00
.prettierignore init 2024-07-08 16:24:56 +08:00
.prettierrc.yaml init 2024-07-08 16:24:56 +08:00
README.md init 2024-07-08 16:24:56 +08:00
dev-app-update.yml init 2024-07-08 16:24:56 +08:00
electron-builder.yml init 2024-07-08 16:24:56 +08:00
electron.vite.config.mjs 基础框架微调 2024-07-11 14:30:08 +08:00
jsconfig.json 基础框架微调 2024-07-11 14:30:08 +08:00
package.json 个人中心开发 2024-07-17 14:16:50 +08:00

README.md

electron-app

安装

$ npm install

启动

$ npm run dev

打包

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

项目目录结构

├── build                    // 编译过程输出文件目录
├── dist                    // 打包后输出目录
├── node_modules            // 依赖模块
├── out                     //编译过程输出文件目录
├── resources                // 公共资源文件,主进程使用
│       └── icon.png         //默认图标
├──src                     
│   ├── main               // 主进程开发目录
│   │  └── index.js       //主进程入口文件      
│   ├── preload           // 预加载脚本开发目录
│   │   └── index.js        // 预加载默认脚本
│   └── renderer          // 渲染进程开发目录类似纯web项目根目录
│              ├── src
│              │    ├── assets  //资源文件目录
│              │    ├── components  //组件目录
│              │    ├── App.vue        // 入口页面
│              │    └── main.js        // 入口文件
│              └── index.js.html        // 默认html文件
├── .editorconfig                    
├── .eslintignore                //eslint代码检查忽略配置文件
├── .eslintrc.cjs                 //eslint代码检查配置文件
├── .gitignore                   //git忽略配置文件
├── .npmrc                       // npm源配置文件
├── .prettierignore               //prettier代码格式化忽略配置文件
├── .prettierrc.yaml              //prettier代码格式化配置文件
├── dev-app-update.yml           
├── electron-builder.yml           //打包配置文件
├──electron.vite.config.mjs       //electron-vite配置文件
├── package-lock.json     
├── package.json              
└──README.md            //项目说明