import Vue from 'vue'; import Buefy from 'buefy'; import humps from 'humps'; import VueI18n from 'vue-i18n'; import App from './App.vue'; import router from './router'; import store from './store'; import * as api from './api'; import { models } from './constants'; import Utils from './utils'; // Internationalisation. Vue.use(VueI18n); const i18n = new VueI18n(); Vue.use(Buefy, {}); Vue.config.productionTip = false; // Globals. const ut = new Utils(i18n); Vue.mixin({ computed: { $utils: () => ut, $api: () => api, }, methods: { $reloadServerConfig: () => { // Get the config.js