-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make fontawesome works #56
Comments
I'm not sure if @jtommy suggests another approach but I did the following steps to use both 1- Install nuxt-community/fontawesome-module: 2- Define the icons you want to use:
3- Include them in the |
I'm using a method similar to @fabiofdsantos, but if you want to actually use
This is working for me and let me use the SVG icons including in the bundle only those listed in the fontawesome.icons property. The CSS and the icon files are automatically included by |
@lucraraujo @fabiofdsantos @dappiu I would love to work out which method would be the best practice for setting up |
This is not a bug. It is a request to improve the documentation.
I found a way to make font-awesome work in nuxt.
The packages I have installed are:
All my buefy configs resides at the nuxt.config.js file. The options that matters to us are:
The aditional option that must be set (not a buefy option) is the css for the font-awesome. In the nuxt config file you will find a css option.
There you will add the entry:
@fortawesome/fontawesome-free/css/all.css
if you want to use the CSS already processed, or:
if you want to use the SASS pre-processor
There is an option if you want to use less, just check the files at the dependency.
With those settings, I'm able to, for example, use the tag
The text was updated successfully, but these errors were encountered: