We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using iconsax font icon and font is not being loaded into the browser.
This is my folder directory
And this is my nuxt config:
And fonts are loaded like this:
they are broken 😔
The text was updated successfully, but these errors were encountered:
Hi,
I just tested the module and the nuxt-font-loader works fine.
nuxt-font-loader
The font you mentioned isn't valid so it needs to be converted and then will work fine. (follow #16 and #19).
Font displays errors in console:
Failed to decode downloaded font: http://localhost:5500/fonts/iconsax.woff OTS parsing error: cmap: Failed to parse table
Here's an example that works great if you have valid font (after conversion):
project structure . ├── static/ │ └── fonts/ │ ├── style.css │ └── all font files (woff2, ttf...) └── nuxt.config.js
// nuxt.config.js export default { buildModules: ['nuxt-font-loader'], fontLoader: { url: { local: '/fonts/style.css', google: 'https://fonts.googleapis.com/css2?family=Manrope&display=swap' } } }
<!-- index.vue --> <template> <div> <span class="isax isax-dcube"></span> </div> </template>
Sorry, something went wrong.
No branches or pull requests
I am using iconsax font icon and font is not being loaded into the browser.
This is my folder directory

And this is my nuxt config:

And fonts are loaded like this:

they are broken 😔
The text was updated successfully, but these errors were encountered: