Create a Project With create-umi
Umi provides scaffolding through create-umi, which includes some customization capabilities. The
yarn create command is recommended because it ensures that every time you use the latest scaffolding.
yarn create umi in the new directory.
$ mkdir myapp && cd myapp $ yarn create umi
Then, select the function you need, checkout plugin/umi-plugin-react for the detailed description.
Once determined, the directories and files will be automatically created based on your selection.
Then install the dependencies manually,
Finally, start local development server with
$ yarn start
If it goes well, open http://localhost:8000 in the browser and you will see the following ui.