File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1
1
#Laravel, VueJs and Vuex: Search component with Pagination
2
2
3
3
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
+ ```
You can’t perform that action at this time.
0 commit comments