1 Star 1 Fork 0

un / wit-admin-react

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.84 KB
一键复制 编辑 原始数据 按行查看 历史

wit-admin-react

介绍

react, antd, vite

特性

后端使用wit-admin-go,需搭配使用。

已配置

UI 框架

Icons

推荐使用内置图标,300个图标。路由菜单配置请使用内置图标

import { WitIcon } from '@/components/Icon';
// icon type string 格式 icon = 'icon-user'为样式class类名
<WitIcon type={icon} />

Gitee 模板

使用这个模板创建仓库.

克隆到本地

git clone https://gitee.com/taiping520/wit-admin-react.git my-vitecamp-theme
cd my-vitecamp-theme
pnpm i

然后,你就可以享受编写代码的乐趣了 :)

安装教程

  1. pnpm install 安装依赖

使用说明

  1. npm run dev 运行
  2. npm run genapi 获取后端接口
  3. npm run build 打包

如何贡献

你可以提一个 issue 或者提交一个 Pull Request。

Pull Request:

  1. Fork 代码
  2. 创建自己的分支: git checkout -b feat/xxxx
  3. 提交你的修改: git commit -am 'feat(function): add xxxxx'
  4. 推送您的分支: git push origin feat/xxxx
  5. 提交 pull request

Git 贡献提交规范

  • feat 新功能
  • fix 修补 bug
  • docs 文档
  • style 格式、样式(不影响代码运行的变动)
  • refactor 重构(即不是新增功能,也不是修改 BUG 的代码)
  • perf 优化相关,比如提升性能、体验
  • test 添加测试
  • build 编译相关的修改,对项目构建或者依赖的改动
  • ci 持续集成修改
  • chore 构建过程或辅助工具的变动
  • revert 回滚到上一个版本
  • workflow 工作流改进
  • mod 不确定分类的修改
  • wip 开发中
  • types 类型

特技

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/taiping520/wit-admin-react.git
git@gitee.com:taiping520/wit-admin-react.git
taiping520
wit-admin-react
wit-admin-react
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891