# Vue3 管理后台项目初始模板 **Repository Path**: s-gaolei/vue3_backend_template ## Basic Information - **Project Name**: Vue3 管理后台项目初始模板 - **Description**: vue3 管理后台初始启动模板 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-12 - **Last Updated**: 2025-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue ## README # 应用架构 `Vue3` + `Vuex` + `mitt` + `Element plus` - 使用 `Vuex` 做全局状态管理 - 使用 `Element plus` 做页面搭建 - 使用 `mitt` 进行应用级事件通知与监听 # 开发 # 配置文件 根据 `.env.example` 文件创建对应配置文件 - `.env.development` 开发环境运行时使用的配置文件 - `.env.production` 打包生产环境时使用的配置文件 # 包管理 - 安装yarn ```shell npm install -g yarn ``` - 安装项目依赖 ```shell yarn install ``` - 添加依赖包 ```shell yarn add packageName ``` # 运行与打包 - 运行 ```shell yarn vite ``` - 打包 ```shell yarn build ```