60 lines
No EOL
1.3 KiB
JavaScript
60 lines
No EOL
1.3 KiB
JavaScript
import Vue from 'vue';
|
|
import App from './App.vue';
|
|
import {sync} from 'vuex-router-sync';
|
|
import store from './store';
|
|
import router from './router';
|
|
|
|
// bootstrap
|
|
import 'jquery/dist/jquery.min.js';
|
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
import 'bootstrap/dist/js/bootstrap.min.js';
|
|
|
|
// fontawesome
|
|
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,
|
|
faSave,
|
|
faEye,
|
|
faComment,
|
|
faEnvelope,
|
|
faUser,
|
|
faComments
|
|
} from '@fortawesome/free-solid-svg-icons';
|
|
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome';
|
|
|
|
import vueDebounce from 'vue-debounce';
|
|
|
|
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);
|
|
Vue.component('font-awesome-icon', FontAwesomeIcon);
|
|
|
|
import VueQRCodeComponent from 'vue-qrcode-component'
|
|
|
|
Vue.component('qr-code', VueQRCodeComponent)
|
|
|
|
sync(store, router);
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
store,
|
|
router,
|
|
render: h => h(App),
|
|
});
|
|
|
|
Vue.use(vueDebounce); |