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:
parent
c5b6e31d97
commit
4ea8b17896
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user