nuxt / fonts

Plug-and-play web font optimization and configuration for Nuxt apps.

Home Page:https://fonts.nuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 playground in development mode.

πŸ“‘ License

Published under the MIT License

About

Plug-and-play web font optimization and configuration for Nuxt apps.

https://fonts.nuxt.com

License:MIT License


Languages

Language:TypeScript 91.8%Language:Vue 7.4%Language:JavaScript 0.7%Language:SCSS 0.1%