michal880 / polymer-3-first-element

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:HTML 67.8%Language:JavaScript 32.2%