1 Star 0 Fork 39

dongbinshan / guigu-sph-mall-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

尚品汇后台管理系统

采用 vue3 全家桶(vite+pinia+element-plus+vue-router@4)

查看更新日志

使用方式

install

pnpm install

run

pnpm run dev

build

pnpm run build:prod

预览地址

http://113.141.166.99:3007/#/index

账户密码:admin atguigu123

功能介绍

  • 使用 Vue3.2.45 + TypeScript 开发
  • 采用 Vite4.0 作为项目开发、打包工具(配置 Gzip 打包、TSX 语法、跨域代理……)
  • 使用 Prettier 统一格式化代码,集成 Eslint、Stylelint 代码校验规范
  • 使用 husky、lint-staged、commitlint、commitizen、cz-git 规范提交信息
  • 使用 Pinia 替代 Vuex,轻量、简单、易用, 集成 Pinia 持久化插件
  • 使用 TypeScript 对 Axios 整个二次封装
  • 基于 Element-plus 二次封装 ProTable 组件,基于配置化去开发常用的表格。
  • 支持页面全屏展示
  • 支持菜单权限的配置和管理
  • 支持三种方式(指令,hooks,组件)的按钮级别的权限控制
  • 支持暗黑模式的切换
  • 支持自定义主题切换
  • 支持 i18n 国际化
  • 自定义指令开发

文件目录介绍

guiug-sph-mall-admin
├─ .husky                 # husky 配置文件
├─ .vscode                # VSCode 推荐配置
├─ mock                   # mock数据
├─ public                 # 静态资源文件(该文件夹不会被打包)
├─ scripts                # 脚本文件
├─ src
│  ├─ api                 # API 接口管理
│  ├─ assets              # 静态资源文件
│  ├─ components          # 全局组件
│  ├─ config              # 全局配置项
│  ├─ directives          # 全局指令文件
│  ├─ enums               # 项目常用枚举
│  ├─ hooks               # 常用 Hooks 封装
│  ├─ languages           # 语言国际化 i18n
│  ├─ layouts             # 框架布局模块
│  ├─ routers             # 路由管理
│  ├─ stores              # pinia store
│  ├─ styles              # 全局样式文件
│  ├─ typings             # 全局 ts 声明
│  ├─ utils               # 常用工具库
│  ├─ views               # 项目所有页面
│  ├─ App.vue             # 项目主组件
│  ├─ env.d.ts            # 指定 ts 识别 vue
│  └─ main.ts             # 项目入口文件
├─ .editorconfig          # 统一不同编辑器的编码风格
├─ .env.development       # 开发环境配置
├─ .env.production        # 生产环境配置
├─ .env.test              # 测试环境配置
├─ .eslintignore          # 忽略 Eslint 校验
├─ .eslintrc.cjs          # Eslint 校验配置文件
├─ .gitignore             # 忽略 git 提交
├─ .prettierignore        # 忽略 Prettier 格式化
├─ .prettierrc.json       # Prettier 格式化配置
├─ .stylelintignore       # 忽略 stylelint 格式化
├─ .stylelintrc.js        # stylelint 样式格式化配置
├─ commitlint.config.js   # git 提交规范配置
├─ index.html             # 入口 html
├─ LICENSE                # 开源协议文件
├─ lint-staged.config     # lint-staged 配置文件
├─ pnpm-lock.json         # 依赖包包版本锁
├─ package.json           # 依赖包管理
├─ README.md              # README 介绍
├─ STANDARD.md            # 项目编码规范说明书
├─ tsconfig.json          # typescript 全局配置
└─ vite.config.ts         # vite 全局配置文件

项目截图

1.登陆页

2.首页

3.主题切换

4.暗黑模式

代码仓库

https://gitee.com/guigu-fe/guigu-sph-mall-admin

本项目后续会集成更多好玩业界解决方案,欢迎大家持续关注,提 issues。

文章教程系列

MIT License Copyright (c) 2023 xiumubai Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

尚品汇后台管理系统vue3+vite+typescript+pinia版本 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dongbinshan/guigu-sph-mall-admin.git
git@gitee.com:dongbinshan/guigu-sph-mall-admin.git
dongbinshan
guigu-sph-mall-admin
guigu-sph-mall-admin
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891