c3lf-system-3/web/src/main.js

56 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-06-18 20:10:10 +02:00
import {createApp} from 'vue'
2019-11-13 22:21:47 +01:00
import App from './App.vue';
2019-11-13 22:40:14 +01:00
import store from './store';
import router from './router';
2019-11-13 22:02:44 +01:00
2019-11-13 23:21:19 +01:00
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.min.js';
2019-11-14 02:22:20 +01:00
// fontawesome
2023-11-27 01:14:52 +01: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,
2024-01-07 21:43:28 +01:00
faSave,
faEye,
faComment,
faEnvelope,
faUser,
faComments,
faArchive,
faMinus,
faHourglass,
faExclamation,
faClipboard,
faTasks,
faAngleRight,
faAngleDown,
faTruck,
faObjectGroup
2023-11-27 01:14:52 +01:00
} from '@fortawesome/free-solid-svg-icons';
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome';
2019-11-14 02:22:20 +01:00
2024-01-07 21:43:28 +01: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,
faArchive, faMinus, faExclamation, faHourglass, faClipboard, faTasks, faAngleDown, faAngleRight, faTruck, faObjectGroup);
2019-11-14 02:22:20 +01:00
2024-06-18 20:10:10 +02:00
const app = createApp(App).use(store).use(router);
2020-01-08 22:20:45 +01:00
2024-06-18 20:10:10 +02:00
app.component('font-awesome-icon', FontAwesomeIcon);
app.mount('#app')