Having a default replacement string
Opened this issue · 1 comments
dhmcloud commented
It would be great if we could set a default string for replacement, are there any plans to add this?
Something like
{ question: "Which directory?", slot: "__dir__", defaultString: "components" },
tomdoyleiom commented
This would be super useful!
I'm using generate-template-files to template out components, and default values would allow me to setup conditional fields, such as props definitions and state, etc.