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 with npm
$ npm install -g @handoo/react-templater
install with yarn
$ yarn add -g @handoo/react-templater
$ hrt [options] <componentNames>
Project $ cd ./componentDirectory
componentDirectory $ hrt header footer [...componentName]
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 |
ISC
- User Custom Template