generator-kona
v0.5.4
Published
yeoman generator for the kona framework
Readme
Application generator for Kona
What is this?
This is a yeoman generator. A generator is basically a plugin that can be run with the yo command to scaffold complete projects or useful parts.
This generator generates fresh, new Kona apps, controllers, scaffolds, views and other stuff.
Getting Started
If you don't have yeoman installed, install it globally via npm:
npm install -g yoThen you'll need this generator-kona generator globally so yeoman can find it:
npm install -g generator-konaNow you're all set! You can now use yo to generate kona applications or controllers, views, and scaffolds
for your kona apps! See Generators below for the available generators.
Generators
A Kona app:
yo kona myNewAppA controller:
yo kona:controller books [optional actions to create for you separated by spaces...]A scaffold (controller, resource route, views):
yo kona:scaffold user follow unfollow...will yield
[A] app/controllers/user-controller.js
[A] app/views/user/add.html
[A] app/views/user/edit.html
[A] app/views/user/index.html
[A] app/views/user/show.html
[M] app/config/routes.jsLicense
MIT
