Code snippet that loads the Inter font in a Next.js project using the "next/font/google" package.
Ouch. Took me a while to realize why @nextjs.org was loading the Inter static font instead of the variable one. Turns out it loads the static font if you don't specify `axes: ['opsz']`
AFAIK this is not documented.
nextjs.org/docs/app/api...