-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ramsunvtech/main
tech(base): add support for TSX, JSX fixes
- Loading branch information
Showing
4 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
# Chef Component | ||
Create Components | ||
Create Component Skeleton in Lightning speed. | ||
|
||
### Below are useful commands. | ||
|
||
#### Create component from definition file. | ||
``` | ||
chef-component --f definitions.txt | ||
chef-component --definitionFile=definitions.txt | ||
``` | ||
|
||
#### Create component in TypeScript format | ||
``` | ||
chef-component --f definitions.txt -e tsx | ||
chef-component --definitionFile=definitions.txt --extension=tsx | ||
``` | ||
|
||
#### Create component in JSX format | ||
``` | ||
chef-component --f definitions.txt -e jsx | ||
chef-component --definitionFile=definitions.txt --extension=jsx | ||
``` | ||
|
||
#### Create component from existing location. | ||
``` | ||
chef-component --f definitions.txt -l someDir/subDir1/subDir2 | ||
chef-component --definitionFile=definitions.txt --location=someDir/subDir1/subDir2 | ||
``` | ||
|
||
#### Create component in same path | ||
``` | ||
chef-component --f definitions.txt -l . | ||
chef-component --definitionFile=definitions.txt --location=. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ blocks/ | |
FooterLinks | ||
ProfileViewers | ||
RecommendedFeeds | ||
common/ | ||
Spinner | ||
Loader | ||
common/ | ||
Spinner | ||
Loader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters