docs: lock version of in-memory API (#23242)

The in-memory API has been updated for v6 but the Angular CLI has not.

Closes angular/in-memory-web-api#189
Fixes #22977
Fixes #23205

PR Close #23242
This commit is contained in:
Jack Twilley 2018-04-12 14:18:56 -07:00 committed by Igor Minar
parent c5b6e31d97
commit 4ea8b17896

View File

@ -43,10 +43,12 @@ If you're _coding along_ with this tutorial, stay here and add the *In-memory We
</div>
Install the *In-memory Web API* package from _npm_
Install the *In-memory Web API* package from _npm_.
**Note:** This package's version is locked to `v0.5` to maintain compatibility with the current release of `@angular/cli`.
<code-example language="sh" class="code-shell">
npm install angular-in-memory-web-api --save
npm install angular-in-memory-web-api@0.5 --save
</code-example>
Import the `InMemoryWebApiModule` and the `InMemoryDataService` class,