Open the command palette and type: Generate Mock Data
.
EG: `id:number,name:name,avatar:image,city
On the input and put the keys of the object that you want:
You can type the keys using colon character .
Type | Description |
---|---|
image | Return a string with an image URL |
string | Return a paragraph |
number | Return a random int |
name | Return a string with a random name |
Enjoy!