https://github.com/robertfoobar/es6-custom-element
Sample project on how to use an es6 custom element created with Polymer 3 inside static html with cross browser support for evergreens and IE11
https://github.com/robertfoobar/es6-custom-element
custom-elements ecmascript6 polymer-3 polymer-cli webcomponents
Last synced: 3 months ago
JSON representation
Sample project on how to use an es6 custom element created with Polymer 3 inside static html with cross browser support for evergreens and IE11
- Host: GitHub
- URL: https://github.com/robertfoobar/es6-custom-element
- Owner: robertfoobar
- Created: 2018-05-30T14:07:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-31T14:14:14.000Z (about 7 years ago)
- Last Synced: 2025-01-21T01:13:00.832Z (5 months ago)
- Topics: custom-elements, ecmascript6, polymer-3, polymer-cli, webcomponents
- Language: JavaScript
- Homepage:
- Size: 293 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# es6-custom-element
## create your custom element
```
npm i -g [email protected]
mkdir custom-polymer-element && cd custom-polymer-element
polymer init polymer-3-element
polymer serve
```
Polymer should host at http://localhost:8000/## host this sample client
```
clone to repo
cd es6-custom-element
npm i -g http-sever
http-server
```Go to http://localhost:8080