 @nuxt/fonts
@nuxt/fonts 
@nuxt/fonts 
Plug-and-play web font optimization and configuration for Nuxt apps.
Nuxt Fonts
Plug-and-play custom web font optimization and configuration for Nuxt apps.
Features
- ✨ zero-configuration required
- 🔡 built-in providers (google,bunny,fontshare,fontsource,adobe,local- more welcome!)
- 💪 custom providers for full control
- ⏬ local download support (until nuxt/assetslands)
- ⚡️ automatic font metric optimisation powered by fontaine and capsize
- 🔥 build/dev time font caching powered by unstorage
👉 See Nuxt Fonts RFC for full details and discussion.
Contributing
- Clone this repository
- Enable Corepack using corepack enable
- Install dependencies using pnpm install
- Run pnpm dev:prepareto generate type stubs.
- Use pnpm devto start playground in development mode.
📑 License
Published under the MIT License