generator-gf
v0.0.6
Published
goblinfactory default yeoman page generator for various javascript UX libraries, angular2, aurelia and ionic
Downloads
4
Maintainers
Readme
generator-gf
goblinfactory default page yeoman generator for various javascript UX libraries, angular2, aurelia and ionic
Status
I ended up writing this generator for myself as I couldnt find an Ionic2 start page scaffolder (I didn't look very hard so if I've missed something awesome I'll link to that), hopefully this is useful to you. If there's something obvious I've missed out that you were expecting, then please message me and I'll consider adding it. Of course, feel free to fork this project and add it yourself, or chat to me about adding you as a contributor.
- currently only ionic2 is supported.
- If you're looking for an ionic1 generator, go here.
Installation
First, install Yeoman and generator-gf using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-gf
To list the pages types that gf can generate
yo gf
should output
The general syntax is yo gf
followed by :{framework}
plus {pagename}
. For example, to generate all the placeholder 'customer' pages for an ionic2 mobile app, type yo gf:i2 customer
. This will scaffold three files in a new folder:
/customer
/customer/customer.page.html
/customer/customer.page.scss
/customer/customer.page.ts
default page type
The default page type for each framework (e.g. i2
) will be the most commonly created placeholder page for each framework.
roadmap
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
Special thanks
Special thanks to (Pascal Hartig)(https://github.com/passy) for writing the generator-generator that I used to kick start this generator project. Gosh, Pascal is a serious open source addict, 1500 contributions in the last year, Yikes! #Kudos and of course #quitejealous ;-D
License
MIT © Alan Hemmings