Hi! I'm Joel and I got tired of creating the same file structure everytime I made a new component. To solve that hassle I made the Little Template Maker. Your lean mean templating machine.
Make it happen
Hit Cmd+P and write "Little Template Maker".
Pick your template and follow the guide.
Guide
Steps
Pick a template
Pick an existing folder
Optionally add the name of a new child folder to add the template into
Loop thru template variables and assign them
💃🕺🍦 Enjoy your new files
Create templates
When you run the command the first time it creates a /.templates folder in your project. Within that folder you build your template with .handlebars files.
Some ground rules
Each template must be a child directory of /.templates
Use Handlebars syntax for creating variables, like so "{{allYourBaseAreBelongsToUs}}"
Within a template you can use folders, files, all the good stuff.
The Little Template Maker will strip all .handlebars files of their extension. If you want your generated file to be named Component.tsx the template filename should be Component.tsx.handlebars.