Skip to content

Commit 78f4b34

Browse files
committedDec 8, 2021
add learning path vue 2 task Real World Vue 2 Ep 1-9 and Mastering Vuex Ep 1-6
1 parent b50cc8f commit 78f4b34

25 files changed

+1116
-205
lines changed
 

‎.eslintrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@ module.exports = {
1010
rules: {
1111
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
1212
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
13+
"prettier/prettier": [
14+
"error",
15+
{
16+
"endOfLine": "auto"
17+
},
18+
],
1319
},
1420
};

‎.prettierrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
singleQuote: true,
3+
semi: false,
4+
}

‎babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
22
presets: ["@vue/cli-plugin-babel/preset"],
3-
};
3+
}

‎db.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"events": [
3+
{
4+
"id": 5928101,
5+
"user": {
6+
"id": "abc123",
7+
"name": "Adam"
8+
},
9+
"category": "animal welfare",
10+
"organizer": "Adam",
11+
"title": "Cat Cabarets",
12+
"description": "Yay felines!",
13+
"location": "Meow Town",
14+
"date": "2019-01-03T21:54:00.000Z",
15+
"time": "2:00",
16+
"attendees": []
17+
},
18+
{
19+
"id": 8419988,
20+
"user": {
21+
"id": "abc123",
22+
"name": "Adam"
23+
},
24+
"category": "animal welfare",
25+
"organizer": "Adam",
26+
"title": "Kitty Cluster",
27+
"description": "Yay cats!",
28+
"location": "Catlandia",
29+
"date": "2019-01-31T22:09:00.000Z",
30+
"time": "7:00",
31+
"attendees": []
32+
},
33+
{
34+
"id": 4582797,
35+
"user": {
36+
"id": "abc123",
37+
"name": "Adam"
38+
},
39+
"category": "animal welfare",
40+
"organizer": "Adam",
41+
"title": "Puppy Parade",
42+
"description": "Yay pups!",
43+
"location": "Puptown ",
44+
"date": "2019-02-02T23:27:00.000Z",
45+
"time": "1:00",
46+
"attendees": []
47+
}
48+
]
49+
}

‎db2.json

+146
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
{
2+
"events": [
3+
{
4+
"id": 1,
5+
"title": "Beach Cleanup",
6+
"date": "Aug 28 2018",
7+
"time": "10:00",
8+
"location": "Daytona Beach",
9+
"description": "Let's clean up this beach.",
10+
"organizer": "Adam Jahr",
11+
"category": "sustainability",
12+
"attendees": [
13+
{
14+
"id": "abc123",
15+
"name": "Adam Jahr"
16+
},
17+
{
18+
"id": "def456",
19+
"name": "Gregg Pollack"
20+
},
21+
{
22+
"id": "ghi789",
23+
"name": "Beth Swanson"
24+
},
25+
{
26+
"id": "jkl101",
27+
"name": "Mary Gordon"
28+
}
29+
]
30+
},
31+
{
32+
"id": 2,
33+
"title": "Park Cleanup",
34+
"date": "Nov 12 2018",
35+
"time": "12:00",
36+
"location": "132 N Magnolia Street, Orlando, Florida",
37+
"description": "We're going to clean up this park.",
38+
"organizer": "Adam Jahr",
39+
"category": "nature",
40+
"attendees": [
41+
{
42+
"id": "ghi789",
43+
"name": "Beth Swanson"
44+
},
45+
{
46+
"id": "jkl101",
47+
"name": "Mary Gordon"
48+
}
49+
]
50+
},
51+
{
52+
"id": 3,
53+
"title": "Pet Adoption Day",
54+
"date": "Dec 2 2018",
55+
"time": "12:00",
56+
"location": "132 N Magnolia Street, Orlando, Florida",
57+
"description": "Help animals find new homes.",
58+
"organizer": "Gregg Pollack",
59+
"category": "animal welfare",
60+
"attendees": [
61+
{
62+
"id": "abc123",
63+
"name": "Adam Jahr"
64+
},
65+
{
66+
"id": "ghi789",
67+
"name": "Beth Swanson"
68+
},
69+
{
70+
"id": "jkl101",
71+
"name": "Mary Gordon"
72+
}
73+
]
74+
},
75+
{
76+
"id": 3580253,
77+
"category": "education",
78+
"organizer": {
79+
"id": "abc123",
80+
"name": "John Doe"
81+
},
82+
"title": "Vue Mastery",
83+
"description": "Free vue mastery course",
84+
"location": "USA",
85+
"date": "2021-12-17T02:55:00.000Z",
86+
"time": "9:00",
87+
"attendees": []
88+
},
89+
{
90+
"id": 174855,
91+
"category": "sustainability",
92+
"organizer": {
93+
"id": "abc123",
94+
"name": "John Doe"
95+
},
96+
"title": "Safe Animal!",
97+
"description": "Safe animal in africa",
98+
"location": "Africa",
99+
"date": "2021-12-02T03:00:00.000Z",
100+
"time": "17:00",
101+
"attendees": []
102+
},
103+
{
104+
"id": 8251012,
105+
"category": "nature",
106+
"organizer": {
107+
"id": "abc123",
108+
"name": "John Doe"
109+
},
110+
"title": "Plant Tree",
111+
"description": "Planting 1000 tree/week",
112+
"location": "USA",
113+
"date": "2021-12-15T03:17:00.000Z",
114+
"time": "9:00",
115+
"attendees": []
116+
},
117+
{
118+
"id": 9235356,
119+
"category": "food",
120+
"organizer": {
121+
"id": "abc123",
122+
"name": "John Doe"
123+
},
124+
"title": "Tempe and Tahu Day",
125+
"description": "Best food from kacang kedelai",
126+
"location": "Indonesia",
127+
"date": "2021-12-10T03:17:00.000Z",
128+
"time": "12:00",
129+
"attendees": []
130+
},
131+
{
132+
"id": 1614079,
133+
"category": "community",
134+
"organizer": {
135+
"id": "abc123",
136+
"name": "John Doe"
137+
},
138+
"title": "Osu! World Cup 2021",
139+
"description": "Osu! Tournament",
140+
"location": "Chicago",
141+
"date": "2021-11-03T03:18:00.000Z",
142+
"time": "21:00",
143+
"attendees": []
144+
}
145+
]
146+
}

0 commit comments

Comments
 (0)
Please sign in to comment.