From 4fa0f889e03923bdb31853b9d8574e02867b9b1d Mon Sep 17 00:00:00 2001 From: Tyler <13880387207@163.com> Date: Thu, 3 Sep 2020 15:36:10 +0800 Subject: [PATCH] Update plugins-and-presets.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 中文文档与英文文档同步 --- docs/zh/guide/plugins-and-presets.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/zh/guide/plugins-and-presets.md b/docs/zh/guide/plugins-and-presets.md index dba8774632..d661a80ad9 100644 --- a/docs/zh/guide/plugins-and-presets.md +++ b/docs/zh/guide/plugins-and-presets.md @@ -191,6 +191,10 @@ GitLab 和 BitBucket 也是支持的。如果要从私有 repo 获取,请确 ``` bash vue create --preset gitlab:username/repo --clone my-project vue create --preset bitbucket:username/repo --clone my-project + +# 私有服务器 +vue create --preset gitlab:my-gitlab-server.com:group/projectname --clone my-project +vue create --preset direct:ssh://git@my-gitlab-server.com/group/projectname.git --clone my-project ``` ### 加载文件系统中的 Preset