Skip to content

Commit

Permalink
chore: update group qrcode
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Apr 2, 2021
1 parent 5599615 commit 3dc8804
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 85 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ English | [简体中文](./README.zh-CN.md)

## Features

* 🎉 **Extensible**, Umi implements the complete lifecycle and makes it extensible, and Umi's internal functions are all plugins. Umi also support plugins and presets.
* 📦 **Out of the Box**, Umi has built-in routing, building, deployment, testing, and so on. It only requires one dependency to get started. Umi also provides an integrated preset for React with rich functionaries.
* 🐠 **Enterprise**, It has been verified by 3000+ projects in Ant Financial and projects of Alibaba, Youku, Netease, Fliggy, KouBei and other companies.
* 🚀 **Self Development**, Including micro frontend library, component packaging, documentation tools, request library, hooks library, data flow, etc.
* 🌴 **Perfect Routing**, Supports both configuration routing and convention routing, while with functional completeness, such as dynamic routing, nested routing, permission routing, and so on.
* 🚄 **Future Ready**, Umi's community is also exploring new technologies. For example, modern mode, webpack @ 5, automated external, bundler less, etc.
* 🌈 **Support SSR**, Starts Server-Side Render friendly.
- 🎉 **Extensible**, Umi implements the complete lifecycle and makes it extensible, and Umi's internal functions are all plugins. Umi also support plugins and presets.
- 📦 **Out of the Box**, Umi has built-in routing, building, deployment, testing, and so on. It only requires one dependency to get started. Umi also provides an integrated preset for React with rich functionaries.
- 🐠 **Enterprise**, It has been verified by 3000+ projects in Ant Financial and projects of Alibaba, Youku, Netease, Fliggy, KouBei and other companies.
- 🚀 **Self Development**, Including micro frontend library, component packaging, documentation tools, request library, hooks library, data flow, etc.
- 🌴 **Perfect Routing**, Supports both configuration routing and convention routing, while with functional completeness, such as dynamic routing, nested routing, permission routing, and so on.
- 🚄 **Future Ready**, Umi's community is also exploring new technologies. For example, modern mode, webpack @ 5, automated external, bundler less, etc.
- 🌈 **Support SSR**, Starts Server-Side Render friendly.

## Getting Started

Expand All @@ -44,11 +44,11 @@ Or [Getting Started with Boilerplate](https://umijs.org/docs/getting-started).

## Links

* [Top Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28enhancement%29+sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)
* [Newest Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28enhancement%29)
* [Top Bugs 😱](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28bug%29+sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)
* [Newest Bugs 🙀](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28bug%29)
* [Benchmarks](https://umijs.github.io/umi/dev/bench/index.html)
- [Top Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28enhancement%29+sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)
- [Newest Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28enhancement%29)
- [Top Bugs 😱](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28bug%29+sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)
- [Newest Bugs 🙀](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28bug%29)
- [Benchmarks](https://umijs.github.io/umi/dev/bench/index.html)

## Contributors

Expand All @@ -60,7 +60,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR

| Github Issue | 钉钉群 | 微信群 |
| --- | --- | --- |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/tfs/TB1WPiWNUY1gK0jSZFCXXcwqXXa-1125-1485.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" /> |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/imgextra/i1/O1CN01ELxCL91aNEQCOC4WR_!!6000000003317-0-tps-1284-1644.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" /> |

## LICENSE

Expand Down
22 changes: 11 additions & 11 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

## 特性

* 🎉 **可扩展**,Umi 实现了完整的生命周期,并使其插件化,Umi 内部功能也全由插件完成。此外还支持插件和插件集,以满足功能和垂直域的分层需求。
* 📦 **开箱即用**,Umi 内置了路由、构建、部署、测试等,仅需一个依赖即可上手开发。并且还提供针对 React 的集成插件集,内涵丰富的功能,可满足日常 80% 的开发需求。
* 🐠 **企业级**,经蚂蚁内部 3000+ 项目以及阿里、优酷、网易、飞猪、口碑等公司项目的验证,值得信赖。
* 🚀 **大量自研**,包含微前端、组件打包、文档工具、请求库、hooks 库、数据流等,满足日常项目的周边需求。
* 🌴 **完备路由**,同时支持配置式路由和约定式路由,同时保持功能的完备性,比如动态路由、嵌套路由、权限路由等等。
* 🚄 **面向未来**,在满足需求的同时,我们也不会停止对新技术的探索。比如 dll 提速、modern mode、webpack@5、自动化 external、bundler less 等等。
- 🎉 **可扩展**,Umi 实现了完整的生命周期,并使其插件化,Umi 内部功能也全由插件完成。此外还支持插件和插件集,以满足功能和垂直域的分层需求。
- 📦 **开箱即用**,Umi 内置了路由、构建、部署、测试等,仅需一个依赖即可上手开发。并且还提供针对 React 的集成插件集,内涵丰富的功能,可满足日常 80% 的开发需求。
- 🐠 **企业级**,经蚂蚁内部 3000+ 项目以及阿里、优酷、网易、飞猪、口碑等公司项目的验证,值得信赖。
- 🚀 **大量自研**,包含微前端、组件打包、文档工具、请求库、hooks 库、数据流等,满足日常项目的周边需求。
- 🌴 **完备路由**,同时支持配置式路由和约定式路由,同时保持功能的完备性,比如动态路由、嵌套路由、权限路由等等。
- 🚄 **面向未来**,在满足需求的同时,我们也不会停止对新技术的探索。比如 dll 提速、modern mode、webpack@5、自动化 external、bundler less 等等。

## 快速上手

Expand All @@ -43,10 +43,10 @@ $ npx umi dev

## 链接

* [Top Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28enhancement%29+sort%3Areactions-%2B1-desc+) (用 👍 投票)
* [Newest Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28enhancement%29)
* [Top Bugs 😱](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28bug%29+sort%3Areactions-%2B1-desc+) (用 👍 投票)
* [Newest Bugs 🙀](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28bug%29)
- [Top Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28enhancement%29+sort%3Areactions-%2B1-desc+) (用 👍 投票)
- [Newest Feature Requests](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28enhancement%29)
- [Top Bugs 😱](https://github.com/umijs/umi/issues?q=is%3Aissue+is%3Aopen+label%3Atype%28bug%29+sort%3Areactions-%2B1-desc+) (用 👍 投票)
- [Newest Bugs 🙀](https://github.com/umijs/umi/issues?q=is%3Aopen+is%3Aissue+label%3Atype%28bug%29)

## 贡献

Expand All @@ -56,7 +56,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR

| Github Issue | 钉钉群 | 微信群 |
| --- | --- | --- |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/tfs/TB1WPiWNUY1gK0jSZFCXXcwqXXa-1125-1485.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" /> |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/imgextra/i1/O1CN01ELxCL91aNEQCOC4WR_!!6000000003317-0-tps-1284-1644.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" /> |

## LICENSE

Expand Down
3 changes: 1 addition & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ features:
title: Future Ready
desc: Umi's community is also exploring new technologies. For example, modern mode, webpack @ 5, automated external, bundler less, etc.
footer: Open-source MIT Licensed | Copyright © 2017-present<br />Powered by [dumi](https://d.umijs.org/).

---

## Getting Started in 3 minutes
Expand Down Expand Up @@ -61,4 +60,4 @@ This project exists thanks to all the people who contribute. [Join us!](/docs/co

| Github Issue | DingTalk | Wechat |
| --- | --- | --- |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/tfs/TB1WPiWNUY1gK0jSZFCXXcwqXXa-1125-1485.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" /> |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/imgextra/i1/O1CN01ELxCL91aNEQCOC4WR_!!6000000003317-0-tps-1284-1644.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" /> |
3 changes: 1 addition & 2 deletions docs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ features:
title: 面向未来
desc: 在满足需求的同时,我们也不会停止对新技术的探索。比如 modern mode、webpack@5、自动化 external、bundler less 等等。
footer: Open-source MIT Licensed | Copyright © 2017-present<br />Powered by [dumi](https://d.umijs.org/).

---

## 三分钟上手 Umi
Expand Down Expand Up @@ -61,4 +60,4 @@ This project exists thanks to all the people who contribute. [Join us!](/zh-CN/d

| Github Issue | 钉钉群 | 微信群 |
| --- | --- | --- |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/tfs/TB1WPiWNUY1gK0jSZFCXXcwqXXa-1125-1485.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" /> |
| [umijs/umi/issues](https://github.com/umijs/umi/issues) | <img src="https://img.alicdn.com/imgextra/i1/O1CN01ELxCL91aNEQCOC4WR_!!6000000003317-0-tps-1284-1644.jpg" width="60" /> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" /> |
47 changes: 23 additions & 24 deletions docs/docs/upgrade-to-umi-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ translateHelp: true

# Upgrade to Umi 3


本文档将帮助你从 Umi 2.x 版本升级到 Umi 3.x 版本。

## package.json
Expand Down Expand Up @@ -69,33 +68,33 @@ export default {

功能变化,

* 删除了 routes、library、dll、hardSource、pwa、hd、fastClick、chunks,不可继续使用
* 内置 dynamicImport、title、scripts、headScripts、metas 和 links 到 Umi 中,可继续使用
* 其他功能不变
- 删除了 routes、library、dll、hardSource、pwa、hd、fastClick、chunks,不可继续使用
- 内置 dynamicImport、title、scripts、headScripts、metas 和 links 到 Umi 中,可继续使用
- 其他功能不变

## 配置层

Umi 3 在配置层做了大量精简,以下修改以字母排序,便于查找。

* 删除 browserslist,和 targets 重复了
* 删除 babel,基本用不上
* 修改 cssLoaderOptions 命名为 cssLoader
* 删除 cssLoaderVersion,只保留 css-loader@2 的版本
* 删除 cssPublicPath,css 引用的资源文件用相对路径 `./` 可满足所有场景,没有必要再配
* 删除 disableGlobalVariables,始终无全局变量,无需配置
* 删除 disableRedirectHoist,始终不再做 redirect hoist
* 删除 disableCSSModules 和 cssModulesWithAffix,Umi 3 自动识别 css modules 的使用,无需配置
* 删除 extraBabelIncludes 和 es5ImcompatibleVersions,node\_modules 也走 babel 编译后就没有意义了,无需配置
* 修改 history 格式为 `{ type, options }` ,不再支持 string 格式
* 修改 lessLoaderOptions 命名为 lessLoader
* 删除 minimizer,只保留 terserjs
* 修改 plugins 的格式为字符串,需要先确保依赖的插件是否升级到 Umi 3,然后修改方式参考前面 umi-plugin-react 的修改方式
* 删除 sass,不再支持,后续会以插件的方式提供
* 删除 treeShaking,已内置,无需配置
* 删除 tsConfigFile,没有必要
* 删除 typescript,TypeScript 编译交给 babel 处理后,之前 ts-loader 的配置就没有意义了
* 删除 uglifyJSOptions,没有必要
* 删除 urlLoaderExcludes,没有必要
- 删除 browserslist,和 targets 重复了
- 删除 babel,基本用不上
- 修改 cssLoaderOptions 命名为 cssLoader
- 删除 cssLoaderVersion,只保留 css-loader@2 的版本
- 删除 cssPublicPath,css 引用的资源文件用相对路径 `./` 可满足所有场景,没有必要再配
- 删除 disableGlobalVariables,始终无全局变量,无需配置
- 删除 disableRedirectHoist,始终不再做 redirect hoist
- 删除 disableCSSModules 和 cssModulesWithAffix,Umi 3 自动识别 css modules 的使用,无需配置
- 删除 extraBabelIncludes 和 es5ImcompatibleVersions,node_modules 也走 babel 编译后就没有意义了,无需配置
- 修改 history 格式为 `{ type, options }` ,不再支持 string 格式
- 修改 lessLoaderOptions 命名为 lessLoader
- 删除 minimizer,只保留 terserjs
- 修改 plugins 的格式为字符串,需要先确保依赖的插件是否升级到 Umi 3,然后修改方式参考前面 umi-plugin-react 的修改方式
- 删除 sass,不再支持,后续会以插件的方式提供
- 删除 treeShaking,已内置,无需配置
- 删除 tsConfigFile,没有必要
- 删除 typescript,TypeScript 编译交给 babel 处理后,之前 ts-loader 的配置就没有意义了
- 删除 uglifyJSOptions,没有必要
- 删除 urlLoaderExcludes,没有必要

## 环境变量层

Expand Down Expand Up @@ -146,6 +145,6 @@ Umi v3 做了非常多的细节改进和重构,我们尽可能收集了已知

也可以加 "Umi 3 升级问题互帮互助" 群,

<img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" />
<img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" />

扫上方二维码,并回复 **umi 3**
51 changes: 25 additions & 26 deletions docs/docs/upgrade-to-umi-3.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,33 @@ export default {

功能变化,

* 删除了 routes、library、dll、hardSource、pwa、hd、fastClick、chunks,不可继续使用
* 内置 dynamicImport、title、scripts、headScripts、metas 和 links 到 Umi 中,可继续使用
* 其他功能不变
- 删除了 routes、library、dll、hardSource、pwa、hd、fastClick、chunks,不可继续使用
- 内置 dynamicImport、title、scripts、headScripts、metas 和 links 到 Umi 中,可继续使用
- 其他功能不变

## 配置层

Umi 3 在配置层做了大量精简,以下修改以字母排序,便于查找。

* 删除 browserslist,和 targets 重复了
* 删除 babel,基本用不上
* 修改 cssLoaderOptions 命名为 cssLoader
* 删除 cssLoaderVersion,只保留 css-loader@2 的版本
* 删除 cssPublicPath,css 引用的资源文件用相对路径 `./` 可满足所有场景,没有必要再配
* 删除 disableGlobalVariables,始终无全局变量,无需配置
* 删除 disableRedirectHoist,始终不再做 redirect hoist
* 删除 disableCSSModules 和 cssModulesWithAffix,Umi 3 自动识别 css modules 的使用,无需配置
* 删除 extraBabelIncludes 和 es5ImcompatibleVersions,node\_modules 也走 babel 编译后就没有意义了,无需配置
* 修改 history 格式为 `{ type, options }` ,不再支持 string 格式
* 修改 lessLoaderOptions 命名为 lessLoader
* 删除 minimizer,只保留 terserjs
* 修改 plugins 的格式为字符串,需要先确保依赖的插件是否升级到 Umi 3,然后修改方式参考前面 umi-plugin-react 的修改方式
* 删除 sass,不再支持,后续会以插件的方式提供
* 删除 treeShaking,已内置,无需配置
* 删除 tsConfigFile,没有必要
* 删除 typescript,TypeScript 编译交给 babel 处理后,之前 ts-loader 的配置就没有意义了
* 删除 uglifyJSOptions,没有必要
* 删除 urlLoaderExcludes,没有必要
- 删除 browserslist,和 targets 重复了
- 删除 babel,基本用不上
- 修改 cssLoaderOptions 命名为 cssLoader
- 删除 cssLoaderVersion,只保留 css-loader@2 的版本
- 删除 cssPublicPath,css 引用的资源文件用相对路径 `./` 可满足所有场景,没有必要再配
- 删除 disableGlobalVariables,始终无全局变量,无需配置
- 删除 disableRedirectHoist,始终不再做 redirect hoist
- 删除 disableCSSModules 和 cssModulesWithAffix,Umi 3 自动识别 css modules 的使用,无需配置
- 删除 extraBabelIncludes 和 es5ImcompatibleVersions,node_modules 也走 babel 编译后就没有意义了,无需配置
- 修改 history 格式为 `{ type, options }` ,不再支持 string 格式
- 修改 lessLoaderOptions 命名为 lessLoader
- 删除 minimizer,只保留 terserjs
- 修改 plugins 的格式为字符串,需要先确保依赖的插件是否升级到 Umi 3,然后修改方式参考前面 umi-plugin-react 的修改方式
- 删除 sass,不再支持,后续会以插件的方式提供
- 删除 treeShaking,已内置,无需配置
- 删除 tsConfigFile,没有必要
- 删除 typescript,TypeScript 编译交给 babel 处理后,之前 ts-loader 的配置就没有意义了
- 删除 uglifyJSOptions,没有必要
- 删除 urlLoaderExcludes,没有必要

## 环境变量层

Expand Down Expand Up @@ -136,21 +136,20 @@ Umi 3 在配置层做了大量精简,以下修改以字母排序,便于查
```

### 动态路由
umi3中不再使用`$`来标识动态路,约定 `[]`包裹的文件或文件夹为动态路由,`[ $]`为可选的动态路由

umi3 中不再使用`$`来标识动态路,约定 `[]`包裹的文件或文件夹为动态路由,`[ $]`为可选的动态路由

比如:

- `src/pages/users/[id].tsx` 会成为 `/users/:id`
- `src/pages/users/[id$].tsx` 会成为 `/users/:id?`


## 遇到问题

Umi v3 做了非常多的细节改进和重构,我们尽可能收集了已知的所有不兼容变化和相关影响,但是有可能还是有一些场景我们没有考虑到。如果你在升级过程中遇到了问题,请到 [Github issues](https://github.com/umijs/umi/issues) 进行反馈。我们会尽快响应和相应改进这篇文档。

也可以加 "Umi 3 升级问题互帮互助" 群,

<img src="https://img.alicdn.com/imgextra/i4/O1CN01n6OPuW1Rc2fNmUMok_!!6000000002131-0-tps-560-720.jpg" width="60" />
<img src="https://img.alicdn.com/imgextra/i1/O1CN01SXbs9I28PhUahMoWZ_!!6000000007925-0-tps-1170-1503.jpg" width="60" />

扫上方二维码,并回复 **umi 3**

0 comments on commit 3dc8804

Please sign in to comment.