summaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-30 20:12:01 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:09 +0100
commitb09d7a9f73e9b28425326227ce8fc4c3b72fb14d (patch)
tree82a274cac4d8eee2c7e41c0a626a1ce63241946d /src/index.js
parent9bca0c543a8a3d5fae1efd0a5d36ef8d1f517d6b (diff)
downloadbrokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.tar.gz
brokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.zip
Big Routing/Tabbing/ReportService refactor, add ad blocks
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/index.js b/src/index.js
index 1c1bfaf..1c498bb 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,32 +2,26 @@ import Vue from 'vue';
import VueRouter from 'vue-router';
import Buefy from 'buefy'
import 'buefy/lib/buefy.css'
+import Ads from 'vue-google-adsense';
import App from './App.vue';
-import Home from './Home.vue';
-
-import ReportService from './report-service.js';
+import ModeTab from './ModeTab.vue';
Vue.use(VueRouter);
Vue.use(Buefy);
-
-const reportService = new ReportService();
+Vue.use(require('vue-script2'))
+Vue.use(Ads.Adsense)
const router = new VueRouter({
routes: [ {
path: '/',
name: 'home',
- component: Home,
- props: (route) => ({
- reportService,
- }),
+ component: ModeTab,
} ]
});
new Vue({
router,
el: '#app',
- render: h => h(App, {
- props: { reportService },
- }),
+ render: h => h(App),
});