I cannot get font-awesome 5 icons to work
See original GitHub issueI cannot for the life of me get font-awesome 5 icons to work for me. I am a bit of noob when it comes to Vue and Nuxt and Bulma, but I have had no problems with pretty much anything else.
I have tried adding the CDN in the nuxt.config, but no luck!
Any help is appreciated!
This is my buefy.js file:
import Buefy from 'buefy'
Vue.use(Buefy, {
"css": true,
"defaultIconPack": 'fas'
})```
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Troubleshooting | Font Awesome Docs
Your best option is to use a Font Awesome Kit which automatically creates a subset of just the icons you are using on...
Read more >html - Font Awesome icons are not working, I have included all ...
Another issue is that the fontawesome css cannot find the font files which are required. Make sure they are in a folder called...
Read more >Font Awesome 5 Icons not Showing? - Slick Media
So, for instance, you cannot show any icons within Regular or Light if you are using Font Awesome Free. 3. Make sure your...
Read more >[Solved]: Font Awesome icons not showing on my website
Fix for manual Installation. Make sure that the Font Awesome CSS file is loaded and that the "webfonts" folder is not missing in...
Read more >Font Awesome 5 Intro - W3Schools
To use the Free Font Awesome 5 icons, you can choose to download the Font Awesome library, or you can sign up for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want to use NPM instead of a CDN, this is the proper way to do it:
@anteriovieira please, consider adding similar instructions to the Readme, might save someone else some time.
The solution is to edit the nuxt configuration file
nuxt.config.js
as follows:Have a nice day 😄