DEV Community

Cover image for Let us learn about UmiJS
Nitin Reddy
Nitin Reddy

Posted on

2

Let us learn about UmiJS

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

$ yarn create @umijs/umi-app
mkdir

Install dependencies

$ yarn
dependencyinstall

Start the project

$ yarn start
startapp

Check the application running

startup

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. folderstructure

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

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay