1.0.8 • Published 2 years ago

rcli-ent v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rcli-ent

react cli to generate boiler plate codes for the components


Usage:

  1. Install it globally: npm install -g rcli-ent / yarn add -g rcli-ent.
  2. Run the below command in the terminal inside your React.JS project. Syntax: rct -c ComponentName Example: rct -c profile Sample output:     Component profile/ProfileComponent.tsx created successfully     Component profile/ProfileComponent.scss created successfully

Available options

You can use bellow options to customise.

AttributeTypeOptionsDefault ValueDescriptionExample
--skipStylesbooleantrue, falsefalseby default component created with style sheet. pass false to overriderct -c profile --skipStyles
--typestringfunctional, classfunctionalto generate functional or class componentrct -c profile --type=class
--stylesstringscss, cssscssto set style whether to use scss or cssrct -c profile --styles=css
--camelCasebooleantrue, falsefalseto create component with camel casingrct -c profile --camelCase

Note: Component path name could be nested folder path to create component in a nested folder. Example: rct -c src/profile/change-password Output: Component src/profile/change-password/ChangePasswordComponent.tsx created successfully. Component src/profile/change-password/ChangePasswordComponent.scss created successfully.

License

MIT Licensed. Copyright (c) Manoj varma 2023.

1.0.8

2 years ago

1.0.2

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago