20 lines
552 B
TypeScript
20 lines
552 B
TypeScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
import { fas } from '@fortawesome/free-solid-svg-icons'
|
|
import { far } from '@fortawesome/free-regular-svg-icons'
|
|
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import './assets/main.css'
|
|
|
|
library.add(fas, far)
|
|
|
|
const app = createApp(App)
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.component('font-awesome-icon', FontAwesomeIcon)
|
|
|
|
app.mount('#app')
|