slush-amuiwidget

A slush generator for Amaze UI(http://amazeui.org) widget.

Usage no npm install needed!

<script type="module">
  import slushAmuiwidget from 'https://cdn.skypack.dev/slush-amuiwidget';
</script>

README

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