new
newfractalcomp
npm i newfractalcomp
new

newfractalcomp

Creates fractal components

by Hisco

2.0.6 (see all)License:ISCTypeScript:Not Found
npm i newfractalcomp
Readme

Fractal Comp

Create boilerplates fractal components

vimnewcomp

### Options

$newcomp --help

Usage: newcomp [options]

Options:

  -T, --template <name> File base template
  -v, --verbose         Verbose mode
  -h, --help            output usage information
  -V, --version         output the version number

Install

npm -g install newfractalcomp

Config defaults

The scripts creates a configuration file (.newfrctl) and a directory (comps-templates) with template(s) at project root folder (same as package.json) called .newfrctl to set defaults values. If you want to create new templates you have to put inside [root]comp-templates folder. Notice how the base template is created at [root]/comp-templates/base

Examples of use

# Create a button component
newcomp button
# Create a myCard component with the component file in the card folder
newcomp myCard --template card
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate