Polymer 3 version of GW2 Ninja.
First, install Polymer CLI and Bower using npm (we assume you have pre-installed node.js).
npm install -g polymer-cli bower
clone from git repo
cd gw2-ninja
npm install
This command serves the app at http://localhost:8080
and provides basic URL
routing for the app:
polymer serve
This command performs HTML, CSS, and JS minification on the application
dependencies, and generates a service-worker.js file with code to pre-cache the
dependencies based on the entrypoint and fragments specified in polymer.json
.
The minified files are output to the build/default
folder.
polymer build
This command serves the built version of the app at http://localhost:8081
:
polymer serve build/default
Note: No proper tests are currently implemented.
This command will run Web Component Tester against the browsers currently installed on your machine:
polymer test