summaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-11 21:04:42 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:20 +0100
commitb18ac8b055af1def5f52fc25950d9a14a58212cc (patch)
tree965276489ef1a67912577efcfa7bba192ddce281 /src/App.vue
parent2f225a54054ae44df2d8fa691efcf247a82f94a1 (diff)
downloadbrokentalents-b18ac8b055af1def5f52fc25950d9a14a58212cc.tar.gz
brokentalents-b18ac8b055af1def5f52fc25950d9a14a58212cc.zip
sync tab selection with URL
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/App.vue b/src/App.vue
index aa2d19c..4c0911b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -9,36 +9,6 @@
</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>
+ <router-view></router-view>
</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>