All Projects → StarEliteCore → react-app-template-umi

StarEliteCore / react-app-template-umi

Licence: MIT license
使用Umi作为底层框架用来实现React App的一个快速开发项目的模板

Programming Languages

typescript
32286 projects
EJS
674 projects
Less
1899 projects

umi project

Getting Started

本项目由于长时间未做前端,导致和官方版本差异较大,现将封存,不再更新代码,请迁移至新的库.

使用Umi 3.x作为框架.

使用Ant Design 4.x作为前端组件库

使用ant-design-pro V5模板代码作为指引

本项目由于项目中使用 yarn 2.x 进行包管理,所以建议大家使用yarn 下载.npm 不能保证正常使用.yarn 2.x 官网

安装依赖

yarn install

启动项目

yarn start

构建项目

yarn build

构建 Umi 运行时导出内容(如 model 写完后需要执行该命令,才能被 ts 语法提示器检测)

yarn postinstall

更新依赖包

yarn upgrade-interactive

更新 yarn

yarn set version berry

导入 yarn 更新依赖包插件

yarn plugin import interactive-tools

导入 yarn TypeScript 库自动加入插件

yarn plugin import typescript
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].