The link to the icon picker is the following: https://github.com/laistomazz/font-awesome-picker
I'm making it run but it doesn't show me the icons. When I inspect the elements that should be showing me the icons has the icon in question
<a href="#" class="item">
<I class="fas fa-arrow-alt-circle-right"></i>
</a>
To install FontAwesome I run the following commands
$ npm i --save @fortawesome/fontawesome-svg-core
$ npm i --save @fortawesome/free-solid-svg-icons
$ npm i --save @fortawesome/free-regular-svg-icons
$ npm i --save @fortawesome/vue-fontawesome@latest
To set up the library on vanilla Vue, the documentation suggests this:
on src/main.js file. source: https://fontawesome.com/docs/web/use-with/vue/add-icons
import Vue from 'vue'
import App from './App'
/* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core'
/* import specific icons */
import { faUserSecret } from '@fortawesome/free-solid-svg-icons'
/* import font awesome icon component */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
/* add icons to the library */
library.add(faUserSecret)
/* add font awesome icon component */
Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
components: { App },
template: '<App/>'
})
As I'm using Nuxt I import the component on 'plugins/global-components.js' and it keeps on the not rendering.
Can someone help me?