feat: change structure
This commit is contained in:
10
app/plugins/fontawesome.client.ts
Normal file
10
app/plugins/fontawesome.client.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
import { faSyncAlt } from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
// Add the icons you need
|
||||
library.add(faSyncAlt)
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.component('FontAwesomeIcon', FontAwesomeIcon)
|
||||
})
|
||||
Reference in New Issue
Block a user