Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 3.69 KB

README_zh-CN.md

File metadata and controls

66 lines (43 loc) · 3.69 KB

English | 简体中文

umi

NPM version Build Status NPM downloads

🌋 可插拔的企业级 react 应用框架。

Please consider following this project's author, sorrycc, and consider starring the project to show your ❤️ and support.


特性

  • 📦 开箱即用,内置 react、react-router、jest、webpack、rollup 等
  • 🏈 类 next.js 且功能完备的路由约定,同时支持配置的路由方式
  • 🎉 插件体系,覆盖从源码到构建产物的所有生命周期
  • 🚀 高性能,比如可通过插件支持 PWA、以路由为单元的 code splitting 等
  • 💈 支持静态页面导出,用于适配无服务端的环境
  • 🚄 开发启动快,包含支持一键开启 dll
  • 🐠 一键补丁方案,通过 targets 配置实现 JS 和 CSS 的自动补丁,最低可到 IE9
  • 🍁 支持 TypeScript,包含 umi API 的 d.ts 定义,测试方案,组件打包方案等
  • 🌴 深入集成 dva 数据流方案但不耦合,支持 duck directory、约定式的 model 挂载、model 的 动态加载等
  • ⛄️ 支持多页应用,基于 umi-plugin-mpa

以及更多。

快速上手

# 安装
$ yarn global add umi # 或者 npm install -g umi

# 新建应用
$ mkdir myapp && cd myapp

# 新建页面
$ umi generate page index

# 本地开发
$ umi dev

# 构建上线
$ umi build

10 分钟入门 umi 视频版

例子

Contributors

This project exists thanks to all the people who contribute. [Contribute].

社区

Slack Group Github Issue 钉钉群 微信群
sorrycc.slack.com umijs/umi/issues

License

MIT