summaryrefslogtreecommitdiff
path: root/src/App.vue
blob: aa2d19c6cb6ddfea877a0dbc0bbb952f6851017e (plain)
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
<template>
  <div class="container">
    <section class="hero">
      <div class="hero-body">
        <div class="container">
          <h1 class="title">Vainglory Broken Talents Fun Statistics</h1>
          <h2 class="subtitle">Tilting Brawlers since May 2017</h2>
        </div>
      </div>
    </section>

    <b-tabs>
      <b-tab-item label="Blitz">
        <blitz-tab :reportService="reportService"></blitz-tab>
      </b-tab-item>

      <b-tab-item label="Battle Royale">
        <battle-royale-tab :reportService="reportService"></battle-royale-tab>
      </b-tab-item>
    </b-tabs>
  </div>
</template>

<script>
import Vue from 'vue';
import BlitzTab from './BlitzTab.vue';
import BattleRoyaleTab from './BattleRoyaleTab.vue';
import ReportService from './report-service.js';

const reportService = new ReportService();

export default {
  name: 'app',
  data: function() {
    return {
      reportService,
    };
  },
  components: {
    BlitzTab,
    BattleRoyaleTab,
  },
};
</script>