Generate code template for react project
Generate componentTemplate like this
---- component-name
-- ComponentName.tsx
-- ComponentName.type.ts
-- ComponentName.scss
-- index.ts
- In the file explorer, right click on the folder that you want the new component placed in
- Select
Create Component
- Input the component name
- The according file templates will be generated for you
- This git command will be generated too:
git add .