generator-x-tag-generator
v0.1.0
Published
Yeoman generator
Downloads
5
Readme
generator-x-tag-generator
Yeoman generator
Getting Started
What is Yeoman?
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
$ npm install -g yo
Yeoman Generators
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-x-tag-generator from npm, run:
$ npm install -g generator-x-tag-generator
Create a directory for your new X-Tag:
$ mkdir [your-component-name] && cd [your-component-name]
Finally, initiate the generator:
$ yo x-tag-generator
Your component needs the latest X-Tag Core library, which can be installed by running:
$ bower install && grunt build
X-Tag Generator sets up the basic folder structure and files for a new web component. We included some useful Grunt commands that will aid in route tasks like building, testing and pushing your component.
The main source files are in ./src/
. The ./demo/
folder contains an html scaffold for testing the development of your component.
Once you've completed your component, don't forget to share it.
$ bower register x-tag-[your-component-name] [git endpoint]
License
MIT