Deploy Dojo Apps with Vercel
Create a Dojo app and deploy it live with Vercel.
Dojo is a progressive framework for modern web apps. It provides a holistic approach to engineering modern web applications while remaining progressively modular in which aspects a project may utilize.
Step 1: Set Up Your Dojo Project
Get started by globally installing the @dojo/cli
and @dojo/cli-create-app
packages.
npm i -g @dojo/cli @dojo/cli-create-app
Globally installing the @dojo/cli
and @dojo/cli-create-app
packages with npm.
Next, set up a Dojo app with the dojo create
command and move into the project directory:
dojo create app --name my-dojo-app && cd my-dojo-app
Creating a Dojo app with the Dojo CLI.
Step 2: Deploying Your Dojo App with Vercel
To deploy your Dojo app with a Vercel for Git, make sure it has been pushed to a Git repository.
Import the project into Vercel using your Git of choice:
After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly "main") will result in a Production Deployment.
Once deployed, you will get a URL to see your app live, such as the following: https://dojo.now-examples.now.sh