Closed cmarabate closed 1 year ago
I'm having the same issue - the plop documentation (https://plopjs.com/documentation/#bypassing-prompts-by-name) mentions passing in with --
eg:
plop "component" -- --destinationpath "/path/user/selected/goes/here"
The current version of the extension runs (Note missing --)
plop "component" --destinationpath "/path/user/selected/goes/here"
As a solution, set the vscode plop setting "Destination path" to this::
--destinationpath
(note the space at the start)
Fixed in V1.2.0
It shows me the path of the directory that I right clicked and choose "New File from Template" but I have to copy it and paste it as the answer to the "Template destination path" prompt in order for it to work correctly. Just leaving that prompt blank does not work...
Reading the comment in the plopfile.js you provided and the release notes makes it seem like this extension is supposed to skip that prompt and automatically use the destinationpath for me.
Is there something I still need to configure to get that working or is there a bug with the latest release?