react-ts-scss-component-generator
v1.0.3
Published
Simple cli utility for creation React Functional Component boilerplate in your React+Typescript+SCSS project. It creates in your src/components folder:
Downloads
11
Readme
Description
Simple cli utility for creation React Functional Component boilerplate in your React+Typescript+SCSS project. It creates in your src/components folder:
- <ComponentName> folder, which contains
- <ComponentName>.tsx file:
- <ComponentName>.types.ts
- index.ts
- <ComponentName>.module.scss
Usage
- Install package globally
npm i -g react-ts-scss-component-generator
- For creation React Functional Component which name is "ComponentName" you should
run this command in terminal
rtsc-generate <ComponentName>