forked from chensokheng123/upvoteVue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
50 lines (46 loc) · 1.21 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
const submissions = [
{
id: 1,
title: 'Yellow Pail',
description: 'On-demand sand castle construction and expertise.',
url: '#',
vote: 16,
avatar: 'img/pf1.jpeg',
submissionImage: 'img/bg1.jpg',
},
// {
// id: 2,
// title: 'Tinfoild: Tailored tinfoil hats',
// description: 'We have your measurements and shipping address.',
// url: '#',
// vote: 4,
// avatar: 'img/pf2.jpeg',
// submissionImage: 'img/bg2.jpg',
// },
// {
// id: 3,
// title: 'Supermajority: The fantasty Congress League',
// description: 'Earn points when your favourite politicians pass legislation.',
// url: '#',
// vote: 10,
// avatar: 'img/pf3.jpeg',
// submissionImage: 'img/bg3.jpeg',
// },
// {
// id: 4,
// title: 'Haught or Naught',
// description: 'High-minded or absent-minded? You decide.',
// url: '#',
// vote: 5,
// avatar: 'img/pf4.jpeg',
// submissionImage: 'img/bg4.jpg',
// }
];
let app = new Vue({
el: '#app',
data: {
submissions: submissions,
},
methods: {
}
});