Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.36 KB

README_zh-CN.md

File metadata and controls

69 lines (44 loc) · 2.36 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 等
  • 🏈 类 next.js 且功能完备的路由约定,同时支持配置的路由方式
  • 🎉 完善的插件体系,覆盖从源码到构建产物的每个生命周期
  • 🚀 高性能,通过插件支持 PWA、以路由为单元的 code splitting 等
  • 💈 支持静态页面导出,适配各种环境,比如中台业务、无线业务、egg、支付宝钱包、云凤蝶等
  • 🚄 开发启动快,支持一键开启 dllhard-source-webpack-plugin
  • 🐠 一键兼容到 IE9,基于 umi-plugin-polyfills
  • 🍁 完善的 TypeScript 支持,包括 d.ts 定义和 umi test
  • 🌴 与 dva 数据流的深入融合,支持 duck directory、model 的自动加载、code splitting 等等

快速上手

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

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

# 新建页面
$ umi generate page index

# 本地开发
$ umi dev

# 构建上线
$ umi build

10 分钟入门 umi 视频版

例子

社区

钉钉群

微信群

群满 100 人,请加 sorryccpro 好友备注 umi 邀请加入。

Telegram

https://t.me/joinchat/G0DdHw-44FO7Izt4K1lLFQ

License

MIT