DEV Community

Discussion on: Create react components at the speed of light with Plop.js

Collapse
 
ivanms1 profile image
Ivan • Edited

Thank you!
You can change the path of the action to whatever you want, for example

path: "src/routes/{{pascalCase name}}/.tsx",
Enter fullscreen mode Exit fullscreen mode

or a dynamic value from the prompts

path: "{{path}}/{{pascalCase name}}/.tsx",
Enter fullscreen mode Exit fullscreen mode