From 2ff0ed7c7e8b630d2ac80e6ec7e7a675102fc443 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Fri, 5 Feb 2021 21:31:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=AF=E6=8C=81=E7=BF=BB=E8=AF=91=20C?= =?UTF-8?q?LI=20=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/glossary.md | 4 ++-- aio/tools/transforms/cli-docs-package/extract-cli-commands.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/content/guide/glossary.md b/aio/content/guide/glossary.md index 393133d51a..f0dbde4002 100644 --- a/aio/content/guide/glossary.md +++ b/aio/content/guide/glossary.md @@ -79,10 +79,10 @@ Learn more in [The App Shell Model](https://developers.google.com/web/fundamenta 欲知详情,参阅[应用外壳模型](https://developers.google.com/web/fundamentals/architecture/app-shell)。 -You can use the Angular CLI to [generate](cli/generate#appshell) an app shell. +You can use the Angular CLI to [generate](cli/generate#app-shell) an app shell. This can improve the user experience by quickly launching a static rendered page (a skeleton common to all pages) while the browser downloads the full client version and switches to it automatically after the code loads. -你可以使用 Angular CLI 来[生成](cli/generate#appshell)一个应用外壳。 +你可以使用 Angular CLI 来[生成](cli/generate#app-shell)一个应用外壳。 它可以在浏览器下载完整版应用之前,先快速启动一个静态渲染页面(所有页面的公共骨架)来增强用户体验,等代码加载完毕后再自动切换到完整版。 See also [Service Worker and PWA](guide/service-worker-intro). diff --git a/aio/tools/transforms/cli-docs-package/extract-cli-commands.js b/aio/tools/transforms/cli-docs-package/extract-cli-commands.js index 13eed58796..740de4925d 100644 --- a/aio/tools/transforms/cli-docs-package/extract-cli-commands.js +++ b/aio/tools/transforms/cli-docs-package/extract-cli-commands.js @@ -5,7 +5,7 @@ const {CONTENTS_PATH} = require('../config'); const cliGitRef = process.argv[2] || 'master'; // Can be a branch, commit or tag. const pkgContent = JSON.stringify({ dependencies: { - '@angular/cli': `https://github.com/angular/cli-builds#${cliGitRef}`, + '@angular/cli': `https://github.com/ng-docs/angular-cli-cn-prebuilt#11.2.x`, }, }, null, 2);