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

Add msg about possible existing file overwrite #208

Closed
whyvez opened this issue Oct 24, 2016 · 1 comment
Closed

Add msg about possible existing file overwrite #208

whyvez opened this issue Oct 24, 2016 · 1 comment

Comments

@whyvez
Copy link

whyvez commented Oct 24, 2016

I ran the cli over an existing folder with an index.html file and it was overwritten. Would be nice if there was a warning about this when the cli is invoked.

@zigomir
Copy link
Contributor

zigomir commented Nov 2, 2016

@whyvez vue-cli will prompt you with ? Target directory exists. Continue? (Y/n) question if you're trying to init a project into existing directory. Also, if you're trying to init it into current directory it will prompt you with: ? Generate project in current directory? (Y/n).

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

3 participants