/polymer-3-first-element

Create your first element with Polymer 3

Primary LanguageJavaScript

Build your first Polymer element

This repo goes with the Build your first Polymer element tutorial.

Running the tutorial code

  1. Install pre-requisites for Polymer CLI (git, npm, Node.js).

    Full instructions are on the Polymer website..

  2. Install Polymer CLI:

    npm install -g polymer-cli@next
    

    Full instructions are on the Polymer website..

  3. Clone this repo:

    git clone https://github.com/PolymerLabs/polymer-3-first-element.git
    
  4. Change directory to the top-level project folder and install project dependencies:

    cd polymer-3-first-element
    npm install
    
  5. To preview your element, run the Polymer development server from the top-level project folder:

    polymer serve --open
    

Next steps

Follow the Build your first Polymer element tutorial to get started with Polymer.