-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
30 lines (21 loc) · 892 Bytes
/
Copy pathapp.js
File metadata and controls
30 lines (21 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const app = Vue.createApp({
component: ('font-awesome-icon', FontAwesomeIcon)
});
app.mount("#app")
import MainCard from './components/MainCard.vue'
import ProjectCard from './components/ProjectCard.vue'
import './assets/main.css'
// import { createApp } from 'vue'
// import App from './src/App.vue'
/* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core'
/* import font awesome icon component */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
/* import specific icons */
import { faUser, faUserSecret } from '@fortawesome/free-solid-svg-icons'
import { faGithub, faLinkedin } from '@fortawesome/free-brands-svg-icons'
/* add icons to the library */
library.add(faUserSecret, faUser, faGithub, faLinkedin)
// createApp(App)
// .component('font-awesome-icon', FontAwesomeIcon)
// .mount('#app')