Deploy Polymer with Vercel

Create a Polymer app and deploy it live with Vercel.

Polymer is an efficient, expressive, and extensible HTML templating library for building JavaScript applications.

Step 1: Set Up Your Polymer Project

Set up a Polymer app with npx and move into the project directory, choosing the blank option when presented:

mkdir my-polymer-app && cd my-polymer-app && npx polymer-cli init polymer-3-starter-kit

Creating a project directory and initializing a Polymer app with npx.

Step 2: Deploying Your Polymer App with Vercel

To deploy your Polymer app with a Vercel for Git Integration, make sure it has been pushed to a Git repository.

Import the project into Vercel 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 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://polymer.now-examples.now.sh

Set up a Polymer 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 mcsdevmcsdev
Last Edited on July 17th 2020