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
- Host: GitHub
- URL: https://github.com/polymerlabs/polymer-3-first-element
- Owner: PolymerLabs
- Created: 2017-12-05T22:25:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T11:27:24.000Z (over 6 years ago)
- Last Synced: 2025-02-07T23:01:56.525Z (over 1 year ago)
- Language: JavaScript
- Size: 1.38 MB
- Stars: 16
- Watchers: 18
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.