Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

canonical-web-and-design/vanilla-web-components

Repository files navigation

Deprecated and archived

We no longer use this, and it is no longer actively maintained.


vanilla-web-components

An exploration of Vanilla using Web Components

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.

Viewing Your Application

$ polymer serve

Building Your Application

$ polymer build

This will create a build/ folder with bundled/ and unbundled/ sub-folders containing a bundled (Vulcanized) and unbundled builds, both run through HTML, CSS, and JS optimizers.

You can serve the built versions by giving polymer serve a folder to serve from:

$ polymer serve build/bundled

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.