Skip to content

ramsunvtech/chef-component

 
 

Repository files navigation

@fe-chef/component

Create Component Skeleton in Lightning speed.

Below are useful commands.

Refer sample definition file - definitions.txt

Create component from definition file.

npx @fe-chef/component -f definitions.txt
npx @fe-chef/component --definitionFile=definitions.txt

Create component in TypeScript format

npx @fe-chef/component -f definitions.txt -e tsx
npx @fe-chef/component --definitionFile=definitions.txt --extension=tsx

Create component in JSX format

npx @fe-chef/component -f definitions.txt -e jsx
npx @fe-chef/component --definitionFile=definitions.txt --extension=jsx

Create component from existing location.

npx @fe-chef/component -f definitions.txt -l someDir/subDir1/subDir2
npx @fe-chef/component --definitionFile=definitions.txt --location=someDir/subDir1/subDir2

Create component in same path

npx @fe-chef/component -f definitions.txt -l .
npx @fe-chef/component --definitionFile=definitions.txt --location=.

Create component in with CSS file

npx @fe-chef/component -f definitions.txt -s css
npx @fe-chef/component --definitionFile=definitions.txt --style=css

Create component in with SASS file

npx @fe-chef/component -f definitions.txt -s=sass
npx @fe-chef/component --definitionFile=definitions.txt --style=scss

Create component in with Styled file

npx @fe-chef/component -f definitions.txt -s=styled
npx @fe-chef/component --definitionFile=definitions.txt --style=styled

About

Create Components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%