An open API service indexing awesome lists of open source software.

https://github.com/polymerlabs/polymer-3-first-element

Create your first element with Polymer 3
https://github.com/polymerlabs/polymer-3-first-element

Last synced: 11 months ago
JSON representation

Create your first element with Polymer 3

Awesome Lists containing this project

README

          

# Build your first Polymer element

This repo goes with the [Build your first Polymer element tutorial](https://www.polymer-project.org/3.0/start/first-element/intro).

## Running the tutorial code

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

[Full instructions are on the Polymer website.](https://www.polymer-project.org/3.0/docs/tools/polymer-cli).

2. Install Polymer CLI:

npm install -g polymer-cli@next

[Full instructions are on the Polymer website.](https://www.polymer-project.org/3.0/docs/tools/polymer-cli).

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](https://www.polymer-project.org/3.0/start/first-element/intro) to get started with Polymer.