How to create a set of files for a react component?
Is it possible to create several files using a template with one command? For example: Component.tsx + index.ts (with import)+ Component.module.css with content by template.
Please sign in to leave a comment.
Yes, you can create your own file templates for this per instructions at https://www.jetbrains.com/help/idea/templates-with-multiple-files.html
See also https://blog.jetbrains.com/webstorm/2020/11/webstorm-2020-3-eap-7/#custom_multi_file_templates