generator-customelement
v0.0.2
Published
Scaffolding a Polymer custom element the right way.
Downloads
7
Maintainers
Readme
generator-customelement
Scaffolding a Polymer custom element the right way - based on official Creating reusable elements guide.
To install generator-customelement from npm, run:
$ npm install -g generator-customelement
Finally, initiate the generator:
$ yo customelement
When ready to deploy to Github, push the master
branch, then run the update_docs.sh
script.
Workflow
$ 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