-
Notifications
You must be signed in to change notification settings - Fork 22
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
Font-Awesome Config Example #10
Comments
Something like this? I'll try to add support for icons (I use import { defineNuxtPlugin } from '#app'
// Ensure your project is capable of handling css files
// THIS SHOULD BE ADDED TO THE HEAD or HERE OR CSS?
// import '@fortawesome/fontawesome-free/css/all.css'
import { aliases, fa } from 'vuetify/iconsets/fa'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('vuetify:configuration', ({ vuetifyOptions }) => {
// update vuetifyOptions
vuetifyOptions.icons = {
defaultSet: 'fa',
aliases,
sets: { fa },
},
})
}) |
maybe you can also add it to the module configuration, you need to solve the css part |
Anyway PR welcome |
I'll try to update the playground to show how to use UnoCSS Preset Icons. |
I need to change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please show how to add fontawesome to this.
The text was updated successfully, but these errors were encountered: