@nhcuong/react-component-maker
v0.1.4
Published
create component and folder wrapper follow my conventions
Downloads
3
Maintainers
Readme
React Component Maker
For anyone who follow my convention. You can see my convention at here
Features 🎉
- Create a component with index.ts and .module.scss file
- Create a folder wrapper what wrap your components into it with file index.ts inside
- Content in all files are follow my convention
Installation 🚀
From your terminal run:
# install the package with NPM
$ npx @nhcuong/react-component-maker
# or install it with YARN
$ yarn @nhcuong/react-component-maker
Sepcific Details
| Input field | Description | Default value | |---------------------------------- |-------------------------------------------------------------------------------------------- |----------------------------- | | What are you want create? | Component or Folder Wrapper | None | | Directory to your Component Name | Relative path to folder (begin from current working folder), you can copy it by use VSCode | src/components/NewComponent | | Your child component name | Child component inside folder wrapper | ChildComponent |