2019-11-13 21:21:47 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import App from './App.vue';
|
2023-11-27 00:14:52 +00:00
|
|
|
import {sync} from 'vuex-router-sync';
|
2019-11-13 21:40:14 +00:00
|
|
|
import store from './store';
|
2019-12-05 03:32:33 +00:00
|
|
|
import router from './router';
|
2019-11-13 21:02:44 +00:00
|
|
|
|
2019-11-14 01:22:20 +00:00
|
|
|
// bootstrap
|
2019-11-13 22:21:19 +00:00
|
|
|
import 'jquery/dist/jquery.min.js';
|
|
|
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
|
|
import 'bootstrap/dist/js/bootstrap.min.js';
|
|
|
|
|
2019-11-14 01:22:20 +00:00
|
|
|
// fontawesome
|
2023-11-27 00:14:52 +00:00
|
|
|
import {library} from '@fortawesome/fontawesome-svg-core';
|
|
|
|
import {
|
|
|
|
faPlus,
|
|
|
|
faCheckCircle,
|
|
|
|
faEdit,
|
|
|
|
faTrash,
|
|
|
|
faCat,
|
|
|
|
faSyncAlt,
|
|
|
|
faSort,
|
|
|
|
faSortUp,
|
|
|
|
faSortDown,
|
|
|
|
faTh,
|
|
|
|
faList,
|
|
|
|
faWindowClose,
|
|
|
|
faCamera,
|
|
|
|
faStop,
|
|
|
|
faPen,
|
|
|
|
faCheck,
|
|
|
|
faTimes,
|
2023-11-23 22:17:20 +00:00
|
|
|
faSave,
|
|
|
|
faEye,
|
|
|
|
faComment,
|
|
|
|
faEnvelope,
|
|
|
|
faUser,
|
|
|
|
faComments
|
2023-11-27 00:14:52 +00:00
|
|
|
} from '@fortawesome/free-solid-svg-icons';
|
|
|
|
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome';
|
2019-11-14 01:22:20 +00:00
|
|
|
|
2020-01-08 21:20:45 +00:00
|
|
|
import vueDebounce from 'vue-debounce';
|
|
|
|
|
2023-11-23 22:17:20 +00:00
|
|
|
library.add(faPlus, faCheckCircle, faEdit, faTrash, faCat, faSyncAlt, faSort, faSortUp, faSortDown, faTh, faList,
|
|
|
|
faWindowClose, faCamera, faStop, faPen, faCheck, faTimes, faSave, faEye, faComment, faUser, faComments, faEnvelope);
|
2019-11-14 01:22:20 +00:00
|
|
|
Vue.component('font-awesome-icon', FontAwesomeIcon);
|
|
|
|
|
2019-12-05 03:32:33 +00:00
|
|
|
sync(store, router);
|
|
|
|
|
2019-11-13 21:02:44 +00:00
|
|
|
new Vue({
|
2023-11-27 00:14:52 +00:00
|
|
|
el: '#app',
|
|
|
|
store,
|
|
|
|
router,
|
|
|
|
render: h => h(App),
|
2019-11-13 21:40:14 +00:00
|
|
|
});
|
2020-01-08 21:20:45 +00:00
|
|
|
|
|
|
|
Vue.use(vueDebounce);
|