Package Exports
- @travic/crc
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@travic/crc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CRC - Create React Component
npm i -g @travic/crc
// or
yarn global add @travic/crcrun
crcin terminalavailable flags
-tsto usetypescript-sassto usesass/scss
Name component
- ex. HelloWorld
Specify relative path to place Component.
- Default will try:
./src/components/
- Default will try:
Default path and example component above will create the following
./src/components/HelloWorldHelloWorldHelloWorld.[jsx | tsx]HelloWorld.[css | scss]index.[js | ts]