1.0.1 • Published 4 years ago
@handoo/react-templater v1.0.1
react-templater
author HANDOO
react-templater is a tool that helps you create convenient components. Enter a simple command line to create the component structure as shown below.
components
├── header
│ ├── index.js
│ ├── Header.jsx
│ └── header.css
└── footer
├── index.js
├── Footer.jsx
└── footer.css- hwo to install
- how to use
- options
- license
- feature
- coffee
Install
install with npm
$ npm install -g @handoo/react-templaterinstall with yarn
$ yarn add -g @handoo/react-templaterUsing
$ hrt [options] <componentNames>Project $ cd ./componentDirectory
componentDirectory $ hrt header footer [...componentName]Option
| Name | Options | description |
|---|---|---|
| Version | -v, --version | version |
| Help | -h, --help | help |
| Typescript | -t, --typescript | using typescript |
| Sass | -s, --sass | using sass |
| Function component | -f, --function | using function component |
License
ISC
Feature
- User Custom Template