fix: typo
This commit is contained in:
parent
d2d9029ca2
commit
c4e7f3fe0a
|
@ -698,7 +698,7 @@ This section covers changes you may have make to the server or to files deployed
|
||||||
|
|
||||||
### Routed apps must fallback to `index.html`
|
### Routed apps must fallback to `index.html`
|
||||||
|
|
||||||
### 带路有的应用必须以`index.html`作为后备页面
|
### 带路由的应用必须以`index.html`作为后备页面
|
||||||
|
|
||||||
Angular apps are perfect candidates for serving with a simple static HTML server.
|
Angular apps are perfect candidates for serving with a simple static HTML server.
|
||||||
You don't need a server-side engine to dynamically compose application pages because
|
You don't need a server-side engine to dynamically compose application pages because
|
||||||
|
|
|
@ -785,7 +785,7 @@ But for routed applications, "almost" isn't good enough.
|
||||||
|
|
||||||
`AppComponent`的注入器是根注入器的*子级*,注入器层次中的下一级。
|
`AppComponent`的注入器是根注入器的*子级*,注入器层次中的下一级。
|
||||||
这对于没有路由器的应用来说*几乎是*整个应用了。
|
这对于没有路由器的应用来说*几乎是*整个应用了。
|
||||||
但这个“几乎”对于带路有的应用仍然是不够的。
|
但这个“几乎”对于带路由的应用仍然是不够的。
|
||||||
|
|
||||||
`AppComponent` services don't exist at the root level where routing operates.
|
`AppComponent` services don't exist at the root level where routing operates.
|
||||||
Lazy-loaded modules can't reach them.
|
Lazy-loaded modules can't reach them.
|
||||||
|
|
Loading…
Reference in New Issue