Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having a default replacement string #81

Open
dhmcloud opened this issue Nov 7, 2022 · 1 comment
Open

Having a default replacement string #81

dhmcloud opened this issue Nov 7, 2022 · 1 comment

Comments

@dhmcloud
Copy link

dhmcloud commented Nov 7, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants