Skip to content
Permalink
Newer
Older
100644 22 lines (19 sloc) 745 Bytes
1
import { createApp } from 'vue'
2
import './style.css'
3
import App from './App.vue'
4
import router from "./router.js";
5
/* Importing FontAwesome icons for the icon buttons: */
6
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
7
import { library } from "@fortawesome/fontawesome-svg-core";
8
import { fas } from "@fortawesome/free-solid-svg-icons";
9
/* Adding 'SweetAlert2' based import for nicely styled messages to user for error handling */
10
import VueSweetalert2 from 'vue-sweetalert2';
11
import 'sweetalert2/dist/sweetalert2.min.css';
13
library.add(fas);
14
15
createApp(App)
16
.use(router)
18
.component("fa", FontAwesomeIcon)
19
.mount('#app')
20
21
// Force the application to start on the 'about' page:
22
router.push({path: '/about'});