Skip to content

Commit cb37dd2

Browse files
committed
first commit
1 parent 5259dc4 commit cb37dd2

31 files changed

+11685
-11
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# vue-tutorial
1+
# Vue.js Tutorial: Learn to Build a Web App Quickly
2+
3+
This source code is part of [Vue.js Tutorial: Learn to Build a Web App Quickly]().
24

35
## Project setup
46
```

package-lock.json

Lines changed: 11397 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11-
"core-js": "^3.4.3",
12-
"vue": "^2.6.10"
11+
"bootstrap-vue": "^2.1.0",
12+
"core-js": "^3.6.1",
13+
"google-maps-api-loader": "^1.1.1",
14+
"vue": "^2.6.10",
15+
"vue-router": "^3.1.3"
1316
},
1417
"devDependencies": {
1518
"@vue/cli-plugin-babel": "^4.1.0",

src/App.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<template>
22
<div id="app">
3-
<img alt="Vue logo" src="./assets/logo.png">
4-
<HelloWorld msg="Welcome to Your Vue.js App"/>
3+
<router-view></router-view>
54
</div>
65
</template>
76

87
<script>
9-
import HelloWorld from './components/HelloWorld.vue'
108
119
export default {
12-
name: 'app',
13-
components: {
14-
HelloWorld
15-
}
10+
name: 'app'
1611
}
1712
</script>
1813

src/Team.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
export const Team = [
2+
{ id: 1, name: 'Arsenal', image: 'arsenal.png', location: 'London (Holloway)', stadium: 'Emirates Stadium',
3+
capacity: 60704, manager: 'Mikel Arteta', captain: 'Pierre-Emerick Aubameyang', lat: 51.554929, lng: -0.108449 },
4+
{ id: 2, name: 'Aston Villa', image: 'aston-villa.png', location: 'Birmingham', stadium: 'Villa Park',
5+
capacity: 42785, manager: 'Dean Smith', captain: 'Jack Grealish', lat: 52.509131, lng: -1.884767 },
6+
{ id: 3, name: 'Bournemouth', image: 'bornemouth.png', location: 'Bournemouth', stadium: 'Dean Court',
7+
capacity: 11364, manager: 'Eddie Howe', captain: 'Simon Francis', lat: 50.735278, lng: -1.838290 },
8+
{ id: 4, name: 'Brighton & Hove Albion', image: 'brighton.png', location: 'Brighton', stadium: 'Falmer Stadium',
9+
capacity: 30666, manager: 'Graham Potter', captain: 'Lewis Dunk', lat: 50.861606, lng: -0.083716 },
10+
{ id: 5, name: 'Burnley', image: 'burnley.png', location: 'Burnley', stadium: 'Turf Moor',
11+
capacity: 21944, manager: 'Sean Dyche', captain: 'Ben Mee', lat: 53.789017, lng: -2.230187 },
12+
{ id: 6, name: 'Chelsea', image: 'chelsea.png', location: 'London (Fulham)', stadium: 'Stamford Bridge',
13+
capacity: 41631, manager: 'Frank Lampard', captain: 'César Azpilicueta', lat: 51.481696, lng: -0.190957 },
14+
{ id: 7, name: 'Crystal Palace', image: 'crystal-palace.png', location: 'London (Selhurst)', stadium: 'Selhurst Park',
15+
capacity: 26047, manager: 'Roy Hodgson', captain: 'Luka Milivojević', lat: 51.398281, lng: -0.085489 },
16+
{ id: 8, name: 'Everton', image: 'everton.png', location: 'Liverpool (Walton)', stadium: 'Goodison Park',
17+
capacity: 39221, manager: 'Marco Silva', captain: 'Séamus Coleman', lat: 53.438813, lng: -2.966331 },
18+
{ id: 9, name: 'Leicester City', image: 'leicester.png', location: 'Leicester', stadium: 'King Power Stadium',
19+
capacity: 32312, manager: 'Brendan Rodgers', captain: 'Wes Morgan', lat: 52.620399, lng: -1.142147 },
20+
{ id: 10, name: 'Liverpool', image: 'liverpool.png', location: 'Liverpool (Anfield)', stadium: 'Anfield',
21+
capacity: 54074, manager: 'Jürgen Klopp', captain: 'Jordan Henderson', lat: 53.430846, lng: -2.960844 },
22+
{ id: 11, name: 'Manchester City', image: 'manchester-city.png', location: 'Manchester',
23+
stadium: 'City of Manchester Stadium', capacity: 55017, manager: 'Pep Guardiola', captain: 'David Silva',
24+
lat: 53.483176, lng: -2.200427 },
25+
{ id: 12, name: 'Manchester United', image: 'manchester-united.png', location: 'Manchester', stadium: 'Old Trafford',
26+
capacity: 74879, manager: 'Ole Gunnar Solskjær', captain: 'Ashley Young', lat: 53.463077, lng: -2.291334 },
27+
{ id: 13, name: 'Newcastle United', image: 'newcastle-united.png', location: 'Newcastle', stadium: 'St James Park',
28+
capacity: 52354, manager: 'Steve Bruce', captain: 'Jamaal Lascelles', lat: 54.975581, lng: -1.621661 },
29+
{ id: 14, name: 'Norwich City', image: 'norwich-city.png', location: 'Norwich', stadium: 'Carrow Road',
30+
capacity: 27244, manager: 'Daniel Farke', captain: 'Grant Hanley', lat: 52.622219, lng: 1.309328 },
31+
{ id: 15, name: 'Sheffield United', image: 'sheffield-united.png', location: 'Sheffield', stadium: 'Bramall Lane',
32+
capacity: 32702, manager: 'Chris Wilder', captain: 'Billy Sharp', lat: 53.370374, lng: -1.470880 },
33+
{ id: 16, name: 'Southampton', image: 'southampton.png', location: 'Southampton', stadium: 'St Marys Stadium',
34+
capacity: 32384, manager: 'Ralph Hasenhüttl', captain: 'Pierre-Emile Højbjerg', lat: 50.905860, lng: -1.390941 },
35+
{ id: 17, name: 'Tottenham Hotspur', image: 'tottenham-hotspur.png', location: 'London (Tottenham)',
36+
stadium: 'Tottenham Hotspur Stadium', capacity: 62214, manager: 'José Mourinho', captain: 'Hugo Lloris', lat: 51.604319, lng: -0.066381 },
37+
{ id: 18, name: 'Watford', image: 'watford.png', location: 'Watford', stadium: 'Vicarage Road',
38+
capacity: 20400, manager: 'Quique Sánchez Flores', captain: 'Troy Deeney', lat: 51.649959, lng: -0.401525 },
39+
{ id: 19, name: 'West Ham United', image: 'westham-united.png', location: 'London (Stratford)', stadium: 'London Stadium',
40+
capacity: 60000, manager: 'Manuel Pellegrini', captain: 'Mark Noble', lat: 51.538750, lng: -0.016625 },
41+
{ id: 20, name: 'Wolverhampton Wanderers', image: 'wolverhampton.png', location: 'Wolverhampton',
42+
stadium: 'Molineux Stadium', capacity: 32050, manager: 'Nuno Espírito Santo', captain: 'Conor Coady', lat: 52.590301, lng: -2.130418 }
43+
];

src/assets/img/arsenal.png

10.2 KB
Loading

src/assets/img/aston-villa.png

6.86 KB
Loading

src/assets/img/bornemouth.png

7.45 KB
Loading

src/assets/img/brighton.png

7.21 KB
Loading

src/assets/img/burnley.png

64.6 KB
Loading

0 commit comments

Comments
 (0)