Alpha version of the app
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { library, config } from '@fortawesome/fontawesome-svg-core'
|
||||
|
||||
import { far } from '@fortawesome/free-regular-svg-icons'
|
||||
import { fab } from '@fortawesome/free-brands-svg-icons'
|
||||
import { fas } from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
|
||||
// Add icon packs.
|
||||
library.add(far, fab, fas)
|
||||
|
||||
// Let Nuxt manage CSS.
|
||||
config.autoAddCss = false
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.component('FontAwesomeIcon', FontAwesomeIcon)
|
||||
})
|
||||
Reference in New Issue
Block a user