1.0.7 • Published 10 years ago

slush-amuiwidget v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Amaze UI Slush Generator

A slush generator for Amaze UI Widget.

Installation

Install slush globally:

npm install -g slush

Install slush-amuiwidget globally:

npm install -g slush-amuiwidget

Usage

Run slush amuiwidget under Amaze UI root dir:

slush amuiwidget

You will now be prompted to give your new widget a name, which will be used in its package.json and template files.

The widget structure will look like this ({widget} will be replaced with your widget name):

{widget}/
├── HISTORY.md
├── README.md
├── package.json
└── src
     ├── {widget}.hbs               # handlerbars template
     ├── {widget}.less              # core style
     ├── {widget}.default.less      # default theme
     ├── {widget}.js                # widget interaction
     └── {widget}.png               # widget icon, 50px * 50px png file