Skip to content

A Yeoman generator for scaffolding a Polymer custom element the right way

Notifications You must be signed in to change notification settings

karan/generator-customelement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Yeoman generator for scaffolding a Polymer custom element the right way

Resources

Stars

Watchers

Forks

Packages