1.0.1 • Published 8 years ago
kse-common-icon v1.0.1
Your first Polymer element
This repo goes with the Build your first Polymer element tutorial.
Running the tutorial code
You'll need to install some command-line tools to manage dependencies and to run the demo.
Download and install Node version 6.x or 7.x from https://nodejs.org/. Node includes the node package manager command,
npm.Install
bowerand the Polymer CLI:npm install -g bower polymer-cliClone this repo:
https://github.com/PolymerLabs/polymer-2-first-element.gitChange directory to your local repo and install dependencies with
bower:cd polymer-2-first-element bower installTo preview your element, run the Polymer development server from the repo directory:
polymer serveOpen
localhost:8080/components/icon-toggle/demo/in your browser. (Note that the path usesicon-toggle—the component name listed in this element'sbower.jsonfile—rather than the actual directory name.)
1.0.1
8 years ago