react-create icon indicating copy to clipboard operation
react-create copied to clipboard

Class name incorrect when passing path in component name

Open gopalesagar opened this issue 8 years ago • 0 comments

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

gopalesagar avatar Dec 02 '17 17:12 gopalesagar