Overview of Nuxt Fonts features
mainNuxt Fonts is a module designed for optimized custom web font management in Nuxt applications. Key capabilities include:
- Zero Configuration: Manage font optimization with a single
font-family:declaration. - Multiple Providers: Support for over 6 built-in font providers to avoid vendor lock-in, with the ability to create custom providers.
- Local Download Support: Font files are automatically downloaded for production usage, ensuring no external requests are made to font providers at runtime.
- Font Metric Optimization: Built-in optimization using
fontaineandcapsizeto prevent layout shifts. - Automatic Caching: Build and development time font caching powered by
unstorage.