0.0.2 • Published 10 years ago

generator-customelement v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

generator-customelement

Scaffolding a Polymer custom element the right way - based on official Creating reusable elements guide.

npm.io

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:

npm.io

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