https://github.com/karan/generator-customelement
A Yeoman generator for scaffolding a Polymer custom element the right way
https://github.com/karan/generator-customelement
Last synced: 9 months ago
JSON representation
A Yeoman generator for scaffolding a Polymer custom element the right way
- Host: GitHub
- URL: https://github.com/karan/generator-customelement
- Owner: karan
- Created: 2014-05-20T04:12:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T15:03:38.000Z (over 11 years ago)
- Last Synced: 2025-04-04T23:29:49.588Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 264 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# generator-customelement
Scaffolding a Polymer custom element the right way - based on official [Creating reusable elements](http://www.polymer-project.org/docs/start/reusableelements.html) guide.

To install generator-customelement from npm, run:
```bash
$ npm install -g generator-customelement
```
Finally, initiate the generator:
```bash
$ yo customelement
```
When ready to deploy to Github, push the `master` branch, then run the `update_docs.sh` script.
### Workflow
```bash
$ mkdir x-meme && cd $_ // make project directory and cd into it
$ yo customelement // scaffold the element
```
This gives the following directory structure:

The outer `x-meme` directory is where you should start your development server, and then browse to `localhost:8000/x-meme` in your web browser.
## License
MIT