From 4f306b09830f1961c03f3f413bd13a7058030b4f Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Mon, 2 Dec 2019 10:59:58 +0800 Subject: [PATCH] docs: update getting-started guide --- packages/docs/docs/guide/getting-started.md | 2 +- packages/docs/docs/zh/guide/getting-started.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/docs/docs/guide/getting-started.md b/packages/docs/docs/guide/getting-started.md index b9ebde92b2..092fe45099 100644 --- a/packages/docs/docs/guide/getting-started.md +++ b/packages/docs/docs/guide/getting-started.md @@ -63,7 +63,7 @@ yarn docs:dev # OR npm run docs:dev To generate static assets, run: ``` bash -yarn docs:build # Or npm run docs:build +yarn docs:build # OR npm run docs:build ``` By default, the built files will be in `.vuepress/dist`, which can be configured via the `dest` field in `.vuepress/config.js`. The built files can be deployed to any static file server. See [Deployment Guide](deploy.md) for guides on deploying to popular services. diff --git a/packages/docs/docs/zh/guide/getting-started.md b/packages/docs/docs/zh/guide/getting-started.md index 6040e71dab..88b7050c7a 100644 --- a/packages/docs/docs/zh/guide/getting-started.md +++ b/packages/docs/docs/zh/guide/getting-started.md @@ -12,6 +12,9 @@ # 安装 yarn global add vuepress # 或者:npm install -g vuepress +# 创建项目目录 +mkdir vuepress-starter && cd vuepress-starter + # 新建一个 markdown 文件 echo '# Hello VuePress!' > README.md