Deploy UmiJS with ZEIT Now

Create an UmiJS app and deploy it live with ZEIT Now.

UmiJS is a pluggable enterprise-level React application framework.

Step 1: Set Up Your Umi Project

Set up an Umi app with npm and move into the project directory, choosing the options App, TypeScript, and no additional functionality where prompted:

npm init umi my-umi-project && cd my-umi-project

Initializing an Umi app with npm and moving into the project directory.

Step 2: Deploying Your Umi App with ZEIT Now

There are two ways to deploy with ZEIT Now. We recommend using a ZEIT Now for Git Integration for ease-of-use. Alternatively, Now CLI can be used to generate a manual Preview Deployment.

Once deployed, you will get a URL to see your app live, such as the following: https://umijs.now-examples.now.sh


To deploy your UmiJS app with a ZEIT Now for Git Integration, make sure your created project has been pushed to a Git repository.

Import the project into ZEIT Now using your Git integration of choice:

After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the default branch (commonly "master") will result in a Production Deployment.

Set up a UmiJS app with a few clicks using the Deploy button, and create a Git repository for it in the process for automatic deployments for your updates.



Written By
Written by msweeneydevmsweeneydev