Nuxt Google Fonts

Welcome to @nuxtjs/google-fonts module documentation to help you set up Google Fonts in your Nuxt application in seconds.

  • Nuxt 3 ready
  • TypeScript support
  • Specify fonts by name/variant
  • Parse head links to Google Fonts
  • Creates only an external link to Google Fonts
  • Support CSS API v2
  • Add dns-prefetch
  • Add preconnect
  • Add preload
  • Download css/fonts to local project (No need external resources)
  • Encode fonts to base64
Bash
$npx nuxi@latest module add google-fonts
Click to copy