Coder Social home page Coder Social logo

wangheath / vite-react-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jinpikafe/vite-react-admin

0.0 0.0 0.0 1.24 MB

通用的vite-react后台项目,基于vite5-react18-router6-ts-mobx-antd5-proComponent

Shell 0.08% JavaScript 2.03% TypeScript 89.92% HTML 0.17% Less 7.80%

vite-react-admin's Introduction

体验地址

在线预览

monitor-vite-admin - 用于对上面网页监控,前端统一脚手架。上面地址因为资源问题,可能服务会挂。

Vite-React-Amin

  • 分支 tiny 版本为轻量版本,只涉及layout布局,代码规划,基础路由等基本功能。
  • 预览请使用mock模式启动 npm run start:mock。
  • master 升级为vite5.x

相关技术

技术 官网 描述
Vite 5.X https://cn.vitejs.dev/ 基础脚手架
React Router 6.X https://reactrouter.com/en/main react 路由管理
ant-design 5.X https://ant.design/index-cn ui 组件
@ant-design/pro-components 2.4.0 https://procomponents.ant.design/ 中后台高阶组件
mobx 6.8.0 https://mobx.js.org/README.html 轻量级状态管理
typescript - 代码类型规范
axios - 数据请求
prettier - 代码美化,格式化
eslint - 代码规范
stylelint - css 代码规范
husky - git commit 检验
lint-staged - git commit 检验

项目简介

基于 vite-mobx-TypeScript-react 开发的后台管理系统

个人博客中,Problem 记录了该项目开发中遇到的相关问题

项目截图

主要功能

  • 登录功能
    • token 存储
    • 后端 jwt
    • 权限相关控制
  • 全屏显示
  • i18n 国际化
    • 使用 react-intl-hooks 进行国际化处理
  • 单元测试
  • 菜单管理
    • 表结构,级联操作
  • 用户管理
    • 强校验
    • 文件上传功能(图片上传)
  • 角色管理
    • 角色联动菜单进行权限控制
  • 前端埋点
    • 统计 pv,uv 且展示
  • echart,高德 api 地图数据展示
    • 通过 AMapUI 取 geoJSON 进行地图渲染
  • 持续更新中。。。

安装依赖

推荐使用 pnpm

pnpm install
npx husky install

脚本描述

开发启动

npm run start
# mock模式启动
npm run start:mock

打包

npm run build

检查代码样式

npm run lint

测试代码

npm run test

vite-react-admin's People

Contributors

jinpikafe avatar mvcrak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.