/serv-location

Service element which will observe the URL bar and keep a register of pages interested in receiving notice of them being accessed. Will exist as a Singleton element and will only appear as a dependency of a second element (page-control | page-control-behaviour).

Primary LanguageHTML

<serv-location>

Service element which will observe the URL bar and keep a register of pages interested in receiving notice of them being accessed. Will exist as a Singleton element and will only appear as a dependency of a second element (page-control | page-control-behaviour)

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.