# vue-admin **Repository Path**: strongjoe/vue-admin ## Basic Information - **Project Name**: vue-admin - **Description**: 从0-1搭建一个vue项目,一个企业级后台管理系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-07 - **Last Updated**: 2025-08-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-admin #### 介绍 从0-1搭建一个vue项目,一个企业级后台管理系统 使用vite vue element-plus axios pinia vue-router nprogress lodash typescript less 代码规范 eslint prettier stylelint husky commit-lint lint-staged #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) #### 错误记录 1. 开始提交项目到github,报错,无法推送,删除远程仓库 git remote remove - 2. 初次失误,误把node_modules 添加到暂存区了。 从暂存区和工作区删除(保留本地文件)git rm -r --cached node_modules ### 常见的git 操作 # 1. 开始提交项目到github,报错,无法推送, 删除旧仓库 git remote remove origin # 2. 添加新仓库 git remote add origin https://gitee.com/strongjoe/vue-admin.git # 3. 重命名分支(如果需要) git branch -m master main # 4. 推送代码 git push -u origin main -f ### proxy 配置的理解 2025.8.8 ### login登录页面,涉及下载;axios相关知识:get方法传参,请求头的类型,响应数据的处理; 路由重定向; ### 后续需补充 一。下载知识;二。http请求的多种方式,包括请求头的类型,返回值的类型;三。将login请求放到store里。四。将router.beforeEach路由导航守卫移出去到permmision.ts文件夹中 # 20250813 powershell 能用 Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass # 增加eslint校验规则 # 1.从前往后按数组顺序应用配置 # 2. 同规则后定义的覆盖前定义的 # 3. 文件过滤(files 字段)会跳过不匹配的配置 # 4. 遇到的问题是“no-unused-vars” 这个规则在把基础规则里的设置关了以后还是 会校验两遍。 最后发现是被后边的js-config-recommand覆盖导致的,在js-config-recommand规则里加上“no-unused-vars”: “off” 就好了