2019-09-01 14:38:13 +02:00
|
|
|
import Vue from 'vue';
|
2021-04-08 21:12:35 +02:00
|
|
|
|
2021-06-14 21:44:07 +02:00
|
|
|
/* Import component Vue plugins, used throughout the app */
|
2021-04-08 21:12:35 +02:00
|
|
|
import VTooltip from 'v-tooltip'; // A Vue directive for Popper.js, tooltip component
|
2021-04-06 16:47:34 +02:00
|
|
|
import VModal from 'vue-js-modal'; // Modal component
|
2021-04-08 21:12:35 +02:00
|
|
|
import VSelect from 'vue-select'; // Select dropdown component
|
2021-05-16 19:29:30 +02:00
|
|
|
import VTabs from 'vue-material-tabs'; // Tab view component, used on the config page
|
2021-05-17 20:38:18 +02:00
|
|
|
import Toasted from 'vue-toasted'; // Toast component, used to show confirmation notifications
|
2021-06-14 21:44:07 +02:00
|
|
|
|
2021-05-17 20:38:18 +02:00
|
|
|
import { toastedOptions } from './utils/defaults';
|
2021-06-14 21:44:07 +02:00
|
|
|
import Dashy from './App.vue';
|
2019-09-01 14:38:13 +02:00
|
|
|
import router from './router';
|
|
|
|
import './registerServiceWorker';
|
|
|
|
|
2021-04-05 17:29:37 +02:00
|
|
|
Vue.use(VTooltip);
|
2021-04-06 16:47:34 +02:00
|
|
|
Vue.use(VModal);
|
2021-05-16 19:29:30 +02:00
|
|
|
Vue.use(VTabs);
|
2021-05-17 20:38:18 +02:00
|
|
|
Vue.use(Toasted, toastedOptions);
|
2021-04-08 21:12:35 +02:00
|
|
|
Vue.component('v-select', VSelect);
|
|
|
|
|
2019-09-01 14:38:13 +02:00
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
|
|
|
new Vue({
|
|
|
|
router,
|
2021-06-14 21:44:07 +02:00
|
|
|
render: (awesome) => awesome(Dashy),
|
2019-09-01 14:38:13 +02:00
|
|
|
}).$mount('#app');
|