Skip to content

Commit 73faaa3

Browse files
committed
Added test data
1 parent f70276d commit 73faaa3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
#Laravel, VueJs and Vuex: Search component with Pagination
22

33
Exercise files for the course `Laravel, VueJs and Vuex: Search component with Pagination`
4+
5+
```php
6+
$products = collect([
7+
factory(Product::class)->create([
8+
'id' => 1, 'name' => 'Trek Remedy 7 27.5', 'price' => '2200.00'
9+
]),
10+
factory(Product::class)->create([
11+
'id' => 2, 'name' => 'Trek Remedy 8 27.5', 'price' => '2700.00'
12+
]),
13+
factory(Product::class)->create([
14+
'id' => 3, 'name' => 'Trek Remedy 9.7 27.5', 'price' => '3300.00'
15+
]),
16+
factory(Product::class)->create([
17+
'id' => 4, 'name' => 'Yeti SB165 27.5', 'price' => '5599.00'
18+
]),
19+
factory(Product::class)->create([
20+
'id' => 5, 'name' => 'Yeti SB150 29', 'price' => '5699.00'
21+
]),
22+
factory(Product::class)->create([
23+
'id' => 6, 'name' => 'Kona Process 153 CR/DL 27.5', 'price' => '3500.00'
24+
]),
25+
factory(Product::class)->create([
26+
'id' => 7, 'name' => 'Kona Hei Hei 29', 'price' => '3650.00'
27+
]),
28+
]);
29+
```

0 commit comments

Comments
 (0)