UmiJS
Docs
Config
API
Guide
Plugins
v2.x
GitHub
中文
UmiJS
Docs
Config
API
Guide
Plugins
v2.x
GitHub
中文
Presets
@umijs/preset-react
Plugins
@umijs/plugin-access
@umijs/plugin-analytics
@umijs/plugin-antd-mobile
@umijs/plugin-crossorigin
@umijs/plugin-dva
@umijs/plugin-esbuild
@umijs/plugin-helmet
@umijs/plugin-initial-state
@umijs/plugin-layout
@umijs/plugin-locale
@umijs/plugin-model
@umijs/plugin-preact
@umijs/plugin-qiankun
@umijs/plugin-request
@umijs/plugin-sass
Plugin Develop
Plugin API
Plugin Best Practice
This article has not been translated yet. Want to help us out? Click the Edit this doc on GitHub at the end of the page.
@umijs/preset-react
针对 react 应用的插件集。
包含:
plugin-access
,权限管理
plugin-analytics
,统计管理
plugin-antd
,整合 antd UI 组件
plugin-crossorigin
,通常用于 JS 出错统计
plugin-dva
,整合 dva
plugin-helmet
,整合
react-helmet
,管理 HTML 文档标签(如标题、描述等)
plugin-initial-state
,初始化数据管理
plugin-layout
,配置启用 ant-design-pro 的布局
plugin-locale
,国际化能力
plugin-model
,基于 hooks 的简易数据流
plugin-request
,基于 umi-request 和 umi-hooks 的请求方案