# my-blog-ui **Repository Path**: geek1234/my-blog-ui ## Basic Information - **Project Name**: my-blog-ui - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-11-25 - **Last Updated**: 2025-11-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue ## README Based on the search results and the structure of the project, here is the README.md content tailored for this project: --- # My Blog UI 这是一个基于 Vue 的博客系统前端界面,支持文章展示、编辑以及搜索功能。项目使用 Vite 构建,并集成了 Element Plus UI 框架以提供现代化的界面设计。 ## 功能特性 - 文章展示:可以查看博客文章的标题、作者、创建日期以及文章内容。 - 文章编辑:支持在线编辑文章标题、摘要和内容,并提供保存功能。 - 文章搜索:支持通过关键词搜索博客文章。 - 响应式设计:适配不同屏幕尺寸,提供良好的浏览体验。 ## 技术栈 - Vue 3 - Vite - Element Plus - Markdown 编辑器 - Axios(用于 API 请求) ## 目录结构 ``` my-blog-ui/ ├── public/ # 静态资源 ├── src/ # 源码目录 │ ├── assets/ # 图片和样式文件 │ ├── components/ # 公共组件 │ ├── views/ # 页面视图 │ ├── router/ # 路由配置 │ ├── store/ # 状态管理 │ ├── plugins/ # 插件配置 │ ├── api/ # 接口请求 │ ├── utils/ # 工具类 │ ├── App.vue # 根组件 │ └── main.js # 入口文件 ├── index.html # 主页 HTML 模板 ├── package.json # 项目配置 └── vite.config.js # Vite 构建配置 ``` ## 安装与运行 ### 前提条件 - Node.js (>=14.x) - npm 或 yarn ### 安装依赖 ```bash npm install # 或者使用 yarn yarn install ``` ### 启动开发服务器 ```bash npm run dev # 或者使用 yarn yarn dev ``` ### 构建生产环境版本 ```bash npm run build # 或者使用 yarn yarn build ``` ### 启动本地服务器预览生产环境版本 ```bash npm run preview # 或者使用 yarn yarn preview ``` ## 使用说明 - **首页**:展示博客文章列表,支持点击文章标题查看详细内容。 - **文章详情页**:展示文章的完整内容,包括标题、作者、创建日期和文章正文。 - **编辑页**:支持在线编辑文章标题、摘要和内容,并提供保存功能。 - **搜索页**:支持通过关键词搜索博客文章。 ## 贡献指南 欢迎贡献代码和改进项目。请遵循以下步骤: 1. Fork 项目仓库。 2. 创建新分支 (`git checkout -b feature/new-feature`) 3. 提交更改 (`git commit -am 'Add some feature'`) 4. 推送分支 (`git push origin feature/new-feature`) 5. 创建 Pull Request ## 许可证 本项目使用 MIT 许可证。详情请查看 [LICENSE](LICENSE) 文件。 --- 以上内容是基于项目结构和代码搜索结果生成的 README.md 文件。如有更多具体需求或功能说明,可以根据实际情况进一步补充。