Deploy Aurelia with ZEIT Now

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

Aurelia is a JavaScript framework for web, mobile and desktop that leverages simple conventions to empower your creativity.

Step 1: Set Up Your Aurelia Project

Set up an Aurelia app with npx and move into the project directory, choosing the option Default ESNext App:

npx aurelia-cli new && cd aurelia-app

Initializing an Aurelia app with npx and moving into the project directory.

In the ./aurelia_project/aurelia.json file, under the platform key, change the output directory for the project to public:

"platform": {
    "hmr": false,
    "open": false,
    "port": 8080,
-   "output": "dist"
+   "output": "public"

Changing the output directory in the /aurelia_project/aurelia.json file.

Step 2: Deploying Your Aurelia App with ZEIT Now

With an Aurelia app set up, it is ready to deploy live with Now.

Using Now CLI, deploy your app with a single command:


Deploying your Aurelia app with Now CLI.

If you want to deploy your Aurelia app when you push to a Git repository, you can use either Now for GitHub, Now for GitLab, or Now for Bitbucket to have your project automatically deployed on every push, and the production domain updated on push to master.

Written By
Written by msweeneydevmsweeneydev
on November 1st 2019