Giter Club home page Giter Club logo

mit-react-cli's Introduction

运行npx mit-react-cli create,生成一个初始化模板【包含js/ts两个版本】:

react18.x + antd5.x + redux4.2.x + @reduxjs/toolkit + react-router-dom 6.4.x

路由导航(懒加载)+自动刷新(新版本)+nprogress路由提示+axios统一封装+jenkins部署脚本+浏览器兼容+项目结构文件+serve验证打包文件+非组件中如何导航+eslint prettier git钩子+多环境配置+错误边界 +全局状态管理方案(redux:rx可以实现一个redux,context费劲因为存在嵌套、) +打包优化(打包分析+热重载:react-scripts5.0.0自带+生产环境去除map文件:GENERATE_SOURCEMAP=false) +支持部署时非根路径访问

如果未成功运行 检查网络、检查是否安装git、nodejs(npm)

mit-react-cli's People

Contributors

candy4290 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.