Deploy Stencil with ZEIT Now

Create a Stencil app and deploy it live with ZEIT Now.

Stencil is a toolchain for building reusable, scalable Design Systems. Generate small, blazing fast, and 100% standards based Web Components that run in every browser.

Step 1: Set Up Your Stencil Project

Set up a Stencil app with npm and move into the project directory, choosing the option ionic-pwa and providing the name my-stencil-project:

npm init stencil && cd my-stencil-project

Initializing a Stencil app with npm and moving into the project directory.

Step 2: Deploying Your Stencil App with ZEIT Now

With a Stencil app set up, it is ready to deploy live with Now.

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

now

Deploying your Stencil app with Now CLI.

If you want to deploy your Stencil app when you push to a Git repository, you can use either Now for GitHub or Now for GitLab 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 6th 2019