-
Notifications
You must be signed in to change notification settings - Fork 22
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
Filename issues with custom components #1
Comments
Hi @anku94 -- what you doing is correct. It looks like an update to filenames in generate-react-cli due to a recent release is causing this issue. I just published a new commit and you are good to go, give it a try now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
While trying to use a custom component using:
npx generate-react-cli component HelloD3 --type=d3
The generated component tree looks like this:
These names should apparently be
HelloD3.[tsx|scss]
for the rest of the code to work. I think this might be an issue withgenerate-react-cli
but I'm not sure if this can be handled with the config. The documentation does describe aTemplateName
special keyword, but it seems to apply to the component type (d3
), and not hte component name (HelloD3
).The text was updated successfully, but these errors were encountered: