docs: add tips on creating new project in existing directory (#4162) [ci skip]

In #1509 it is shown that a new project can be created in the an existing directory. This is a common scenario (e.g. creating a repo on GitHub, cloning it, and then running `vue create`). This commit makes this functionality more well known.
This commit is contained in:
Lloyd Atkinson
2019-06-18 07:50:39 +01:00
committed by Haoqun Jiang
parent 0723ceba54
commit d1b7121102

View File

@@ -8,6 +8,12 @@ To create a new project, run:
vue create hello-world
```
A new project can also be generated inside an existing directory, like so:
``` bash
vue create .
```
::: warning
If you are on Windows using Git Bash with minTTY, the interactive prompts will not work. You must launch the command as `winpty vue.cmd create hello-world`.
If you however want to still use the `vue create hello-world` syntax, you can alias the command by adding the following line to your `~/.bashrc` file.