happy sunday! fonts.nuxt.com v1 is out ๐ if you haven't tried it, here's how: 1๏ธโฃ use `font-family` in css or tailwind โ ... and you're done! nuxt will detect the font, self-host it, and generate preloads + font metrics to cut layout shift + load time no configuration required โจ
Post
๐ it's built with three other libraries that also just reached v1 ๐ โช `unifont` - to resolve metadata โช `fontaine` - to cut layout shift โช `fontless` - to apply it agnostically for all vite-based frameworks โก
I'm really delighted to announce that ๐ `unifont` has turned 1.0 โฆ and it finally has a home! โจ
0 reposts2 likes
oh, and the devtools panel is all new ๐ you can easily see every family resolved, which provider it comes from, where the face is used, and any warnings ... ๐ plus, it's built on devfra.me - a framework-neutral foundation for devtools from @antfu.me
devfra.meBuild a devtool once. Mount it anywhere.Devframe is a framework-neutral foundation for devtools. One definition becomes a Web Standard handler you can mount into any host framework, ship as a CLI or static report, and expose to coding agent...