From b18ac8b055af1def5f52fc25950d9a14a58212cc Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Fri, 11 May 2018 21:04:42 +0200
Subject: sync tab selection with URL

---
 src/App.vue | 32 +-------------------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

(limited to 'src/App.vue')

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>
-- 
cgit v1.3.1

