rogeriopvl / generator-ink

Yeoman generator for projects using http://ink.sapo.pt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM banner NPM downloads

generator-ink Build Status

A generator for Yeoman for projects using the awesome Ink framework http://ink.sapo.pt.

Getting Started

Install

Note: Make sure you have installed yeoman before installing this generator.

$ npm install -g generator-ink

First Run

$ yo ink

After running this command, generator-ink will ask you to choose a layout. You can see available layouts (with screenshots) here.

generator-ink screenshot

Subgenerator

$ yo ink:page <layout_name> [file_name]

With this subgenerator you can create pages inside your project folder. Just make sure to insert the correct layout name, and optionally a file name of your liking. If you don't specify a file_name, generator-ink will generate one for you with a timestamp in the name to avoid overwriting any file you have already in your project.

Available Layouts

Go to http://rogeriopvl.github.io/generator-ink to see available layouts along with their screenshots.

License

MIT License

About

Yeoman generator for projects using http://ink.sapo.pt

License:MIT License


Languages

Language:HTML 96.1%Language:JavaScript 3.9%