aboutsummaryrefslogtreecommitdiffstats

Create riot component

Create a component skeleton for riot.js. Designed to be used with ES6 import syntax and SASS.

Installation

With yarn

yarn global add create-riot-component

With npm

npm install -g create-riot-component

Usage

create-riot-component [component-name]

This command would create the following directory structure:

component-name
  - component-name.tag
  - component-name.scss
  - index.js  // for importing the directory

Author

Jan Tuomi 2017