Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ClickClock/src/main.js /
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22 lines (19 sloc)
745 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { createApp } from 'vue' | |
| import './style.css' | |
| import App from './App.vue' | |
| import router from "./router.js"; | |
| /* Importing FontAwesome icons for the icon buttons: */ | |
| import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | |
| import { library } from "@fortawesome/fontawesome-svg-core"; | |
| import { fas } from "@fortawesome/free-solid-svg-icons"; | |
| /* Adding 'SweetAlert2' based import for nicely styled messages to user for error handling */ | |
| import VueSweetalert2 from 'vue-sweetalert2'; | |
| import 'sweetalert2/dist/sweetalert2.min.css'; | |
| library.add(fas); | |
| createApp(App) | |
| .use(router) | |
| .use(VueSweetalert2) | |
| .component("fa", FontAwesomeIcon) | |
| .mount('#app') | |
| // Force the application to start on the 'about' page: | |
| router.push({path: '/about'}); |