summaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
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),
});