This repo goes with the Build your first Polymer element tutorial.
-
Install pre-requisites for Polymer CLI (git, npm, Node.js).
-
Install Polymer CLI:
npm install -g polymer-cli@next
-
Clone this repo:
git clone https://github.com/PolymerLabs/polymer-3-first-element.git
-
Change directory to the top-level project folder and install project dependencies:
cd polymer-3-first-element npm install
-
To preview your element, run the Polymer development server from the top-level project folder:
polymer serve --open
Follow the Build your first Polymer element tutorial to get started with Polymer.