Use local icons instead of CDN, clean unused deps & fix issue with

vue-property-decorator

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-09 17:54:35 +02:00
parent 2a4dbe55ca
commit f4360468a6
7 changed files with 142 additions and 107 deletions

View File

@@ -3,6 +3,7 @@
import Vue from 'vue';
import Buefy from 'buefy';
import VueI18n from 'vue-i18n';
import Component from 'vue-class-component';
import App from '@/App.vue';
import router from '@/router';
import { apolloProvider } from './vue-apollo';
@@ -25,6 +26,13 @@ const i18n = new VueI18n({
messages, // set locale messages
});
// Register the router hooks with their names
Component.registerHooks([
'beforeRouteEnter',
'beforeRouteLeave',
'beforeRouteUpdate', // for vue-router 2.2+
]);
/* eslint-disable no-new */
new Vue({
router,