项目
在 GitHub 查看
nuxt/fonts
关于
为 Nuxt 应用提供开箱即用的 Web 字体优化和配置。
设计与媒体可以做什么
- ✨ zero-configuration required
- 🔡 built-in providers (google, googleicons, bunny, fontshare, fontsource, adobe, npm, local - more welcome!)
- 💪 custom providers for full control
- ⏬ local download support (until nuxt/assets lands)
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Nuxt Fonts
Plug-and-play custom web font optimization and configuration for Nuxt apps.
Features
- ✨ zero-configuration required
- 🔡 built-in providers (
google,googleicons,bunny,fontshare,fontsource,adobe,npm,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.
Installation
Install @nuxt/fonts dependency to your project:
npx nuxt module add fonts
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 the basic playground in development mode.
📑 License
Published under the MIT License
探索相关项目
加载中…