Skip to content
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

Class name incorrect when passing path in component name #2

Open
gopalesagar opened this issue Dec 2, 2017 · 0 comments
Open

Class name incorrect when passing path in component name #2

gopalesagar opened this issue Dec 2, 2017 · 0 comments

Comments

@gopalesagar
Copy link

When trying to create a component by specifying a path as below
react-create component src/Address --entry
The file is created properly in src directory but the class name in the template is prefixed with the path. The class name should be extracted from the argument[1](which can be a component name with path before it) before adding it to the template.
Please find the screen shot.
screen shot 2017-12-02 at 10 33 28 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant