1.0.8 • Published 3 years ago
let-there-be-component v1.0.8
Creates a folder (under the current directory in the terminal) with the given name, containing a css and a tsx file with the same name. Both files contain some boilerplate code for a react function component.
Install the package globally:
npm install -g let-there-be-component
Navigate to the directory under which you want to create the new folder, and type the command below in your terminal:
ltbc NewComponent
A folder with the name NewComponent, containing NewComponent.css and NewComponent.tsx should be generated.