@nhcuong/react-component-maker

0.1.4 • Public • Published

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

Package Sidebar

Install

npm i @nhcuong/react-component-maker

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

7.43 kB

Total Files

16

Last publish

Collaborators

  • nhcuong