-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
allow to initialize template project in actual folder instead of subfolder. #8448
Comments
If you type |
Tried again, somehow it works, still it would be nice, if it would create project in actual folder even when I don't provide any name, than using default name. |
also if we use |
I'm not really sure where we can put this "trick" in the CLI. The prompt is |
I actually like how SvelteKit's CLI works with project name and package name (maybe except that they could allow to choose custom pkg.name via CLI, like Vite's CLI do now, see linked issue).
ask for name of project (folder), if I press enter (don't write any name), actual folder is used.
I would suggest that Vite works same way, but doesn't automatically set This would allow user to choose actual folder easier, as well as set |
Clear 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 insidevite-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
The text was updated successfully, but these errors were encountered: