0.0.5 • Published 1 year ago
react-template-creator v0.0.5
Gettings Started
CLI for generate react template with tsx and scss as default with src
as root dir
Node: require node version 16 or newer
run without install
npx react-template-creator gc <component_name> [-opt | --opt=value]
or run with install
npx rgt gc <component_name> [-opt | --opt=value]
Options:
--ms or--module-style=true generate with style file as module (*.module.scss).
-ar
generate tempate use arrow function
--style=css|scss|sass generate style file with options extension
get help:
npx react-template-creator -h