0.3.0 • Published 8 years ago

slush-ui-component v0.3.0

Weekly downloads
28
License
-
Repository
-
Last release
8 years ago

slush-ui-component

A slush generator for Altocloud UI Components.

Installation

Install slush-ui-component globally:

npm install -g slush-ui-component

Altocloud dev environment should have slush installed globally, otherwise:

npm install -g slush

Altocloud dev environment should have bower installed as well, otherwise:

npm install -g bower

Usage

Create a new folder for your ui component:

mkdir my-ui-component

Run the generator from within the new folder:

cd my-ui-component

slush ui-component

You will now be prompted to give your new UI Component a name, which will be dasherized and used in its bower.json and package.json respectively. The chosen name will be camelized and used as the main angular module as well, inside src/js/app.js.