You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use create-component-app for some of the other templated files I create. Specifically redux actions, reducers, and selectors. I'd like to be able to use the COMPONENT_NAME replacement key with different casing. Currently it just uses whatever I've entered as the component name.
What I'd love to be able to do is:
Specify: ComponentName on the command line
In the template specify something like: _component_name_ for an lcased version of the ComponentName
in the template specify something like _COMPONENT_NAME_ for a ucased version of the ComponentName
in the template specify something like _Component_Name_ for a raw output of the ComponentName
The text was updated successfully, but these errors were encountered:
thank you for your suggestion 🙂
I believe that now made these changes could be very difficult.
The API of COMPONENT_NAME is used by all the users and it is like that in every template.
I prefer to don't touch that API for now.
Thanks man 👍
I'm trying to use create-component-app for some of the other templated files I create. Specifically redux actions, reducers, and selectors. I'd like to be able to use the COMPONENT_NAME replacement key with different casing. Currently it just uses whatever I've entered as the component name.
What I'd love to be able to do is:
ComponentName
on the command line_component_name_
for anlcased
version of theComponentName
_COMPONENT_NAME_
for aucased
version of theComponentName
_Component_Name_
for a raw output of theComponentName
The text was updated successfully, but these errors were encountered: