Skip to content

Commit

Permalink
docs: update v0 products with id
Browse files Browse the repository at this point in the history
The getting-started-v0 had products.ts that did not have id fields.
This can cause an issue in the navigation part. This commit adds an id field to all products.
  • Loading branch information
ShubhankarKG committed Dec 31, 2020
1 parent c883e08 commit 3ed4567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aio/content/examples/getting-started-v0/src/app/products.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
export const products = [
{
id: 1,
name: 'Phone XL',
price: 799,
description: 'A large phone with one of the best screens'
},
{
id: 2,
name: 'Phone Mini',
price: 699,
description: 'A great phone with one of the best cameras'
},
{
id: 3,
name: 'Phone Standard',
price: 299,
description: ''
Expand Down
2 changes: 1 addition & 1 deletion aio/content/start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For more information about components, see [Introduction to Components](guide/ar

## Create the sample project

To create the sample project, generate the <live-example name="getting-started" noDownload>ready-made sample project in StackBlitz</live-example>.
To create the sample project, generate the <live-example name="getting-started-v0" noDownload>ready-made sample project in StackBlitz</live-example>.
To save your work:

1. Log into StackBlitz.
Expand Down

0 comments on commit 3ed4567

Please sign in to comment.