allow to initialize template project in actual folder instead of subfolder.
See original GitHub issueClear and concise description of the problem
doing npm init vite -- --template svelte
ask me for project directory, if I don’t fill it, it will create project inside vite-project
subfolder, instead of actual folder.
Suggested solution
allow to initialize template project in actual folder instead of subfolder (if I don’t write name or write just .
to input).
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that request the same feature to avoid creating a duplicate.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
C++ Item Template Wizard does not create file in project ...
However, I do have a problem with a simple Item Template Wizard, if the newly created source file shall be located in a...
Read more >Issue with visual studio template & directory creation
All the sub projects\templates have to be located under the real template file folder. Zip template internal structure example: RootTemplateFix.
Read more >New/Edit Template - Files and Folders - SolidWorks Web Help
To create a new template, right-click Templates and click New Template. ... If you select Current Folder, the template creates the subfolder (or...
Read more >Create a project template for dotnet new - .NET | Microsoft Learn
In your terminal, navigate to the working\templates folder and create a new subfolder named consoleasync. Enter the subfolder and run dotnet ...
Read more >Creating Project Browser Folders - Paul F. Aubin
I had an email today from a reader asking how to create custom folders in the Revit Project Browser. You can do this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you type
.
whenProject name:
is prompt, it will create the project in the current folder. It might be difficult to find this out.I’m not really sure where we can put this “trick” in the CLI. The prompt is
Project name:
and.
isn’t actually one. It might take a small re-design of the CLI to better support this, so it may not be as easy as it seems for this issue.