@nuxt/fonts
TypeScript icon, indicating that this package has built-in type declarations

0.11.2 • Public • Published

nuxt-fonts

Nuxt Fonts

npm version npm downloads License Nuxt Volta

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/assets lands)
  • ⚡️ 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:prepare to generate type stubs.
  • Use pnpm dev to start the basic playground in development mode.

📑 License

Published under the MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @nuxt/fonts

Weekly Downloads

73,038

Version

0.11.2

License

MIT

Unpacked Size

261 kB

Total Files

22

Last publish

Collaborators

  • atinux
  • pi0
  • antfu
  • danielroe
  • nuxtbot