-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
titleCase fails to transform name #415
Comments
I'm also having issues with titleCase. |
I encountered the same issue with version 0.32.0. As an alternative, I'm using the For example, |
I'm using version 3.0.0 of plop and having the same issue with titleCase.
|
A quick workaround here is to overwrite the
|
I have a line of code in an hbs helper:
<WindowHeader onClose={onClose} title='{{titleCase name}}' />
When I run a plop command and
name
is set tosomeName
, all of the kebab and pascal casing conversions work fine, but the titleCase one does nothing.The output is:
<WindowHeader onClose={onClose} title='someName' />
Am I missing something or doing something wrong? The handlebars braces are being read just fine as it's replacing the template with the value, it's just not converting the value to title case
The text was updated successfully, but these errors were encountered: