Features
- ๐ฆ Out of box, with built-in support for react, react-router, jest, webpack, rollup, etc.
- ๐ Next.js like and full featured routing conventions, which also supports configured routing
- ๐ Plugin system, covering every lifecycle from source code to production
- ๐ High performance, including PWA support, route-level code splitting, etc.
- ๐ Support for static export, Suitable for environments without server
- ๐ Fast dev startup, including dll support with config etc.
- ๐ Polyfill solution, add JS and CSS polyfill with targets config, lowest to IE9
- ๐ Support TypeScript, including d.ts definition and
umi test
- ๐ด Deep integration with dva, including duck directory support, automatic loading of model, code splitting, etc
- โ๏ธ Support MPA๏ผbased on umi-plugin-mpa
Install
Install tool
$ yarn global add umi # OR npm install -g umi
Build
Create a page
$ mkdir myapp && cd myapp
$ umi generate page index
Run
Start the development server
Build and deploy
Examples