# Simple Element Plus Template - AGENTS.md ## 1. 项目概览 (Project Overview) 基于 Vue 3 + JavaScript + Vite + Element Plus 的中后台前端通用模版。 - **主要仓库**: [fugary/simple-element-plus-template](https://github.com/fugary/simple-element-plus-template) ## 2. 技术栈 (Tech Stack) - **框架/构建**: Vue 3 + Vite + JavaScript - **组件库**: Element Plus, @element-plus/icons-vue - **状态管理**: Pinia, pinia-plugin-persistedstate - **路由**: Vue Router - **工具库**: Axios, Lodash-es, VueUse, Vue I18n ## 3. 项目规则 (Project Rules) 为了保证项目的开发一致性和质量,AI 代理在协作时需遵循项目内置的规则: 详细规则请参考:[.agents/rules/rules.md](.agents/rules/rules.md) 主要包含: 1. **提交日志**: 生成提交日志时请使用 **中文**。 2. **前端开发**: 修改前端 JS、Vue 等文件时需通过 **ESLint** 验证(`npm run lint`)。 3. **内置工具与文件检索**: 阅读、分析和检索代码与项目文件时,必须优先使用内置专有工具(如 `view_file`、`grep_search` 等),避免随意通过终端执行 `Get-Content`/`cat`/`type` 等 shell 命令读取文件。