Install Polymer CLI using npm (we assume you have pre-installed node.js).
npm install -g polymer-cli
This command serves the app at http://127.0.0.1:8081 and provides basic URL
routing for the app:
npm start
The npm run build command builds your Polymer application for production, using build configuration options provided by the command line or in your project's polymer.json file.
This command serves your app. Replace build-folder-name with the folder name of the build you want to serve.
npm start build/build-folder-name/
This command will run Web Component Tester against the browsers currently installed on your machine:
npm test
If running Windows you will need to set the following environment variables:
- LAUNCHPAD_BROWSERS
- LAUNCHPAD_CHROME