What is UmiJS π‘
- It leverages the idealogy of React, NextJS and TypeScript.
- It is a utility framework that can be used to build enterprise-level applications.
- Built by Ant Group, the subsidiary of Alibaba.
- It has an in-built routing mechanism that supports configuration and conventional routing.
- Supports micro-frontend, component packaging, documentation tools, request library, hooks library, data flow etc.
Setup the project
Prerequisites
- node β₯ 10.13.0
- yarn package
Create an empty project
$ mkdir myapp && cd myapp
Create a umi project
Install dependencies
Start the project
Check the application running
Folder structure
-
.umi
folder contains the umi plugins that would be used across the development of the application. -
pages
folder contains the files that would be rendered in the UI. The name of the file name is the route name for the file as well.
Conclusion π
More details are incoming around UmiJS...
Thanks in advance for reading this article...π
I am more than happy to connect with you on
You can also find me on
Top comments (0)