@nuxtjs/google-fonts
!npm versionnpm-version-srcnpm-version-href
!npm downloadsnpm-downloads-srcnpm-downloads-href
!Github Actions CIgithub-actions-ci-srcgithub-actions-ci-href
!Codecovcodecov-srccodecov-href
!Licenselicense-srclicense-hrefGoogle Fonts module for Nuxt
Features
- Nuxt 3 and Nuxt Bridge 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
📖 Read more
Contributing
You can contribute to this module online with CodeSandBox:Or locally:
- Clone this repository
- Install dependencies using
pnpm install
- Prepare development server using
pnpm dev:prepare
- Build module using
pnpm build
- Launch playground using
pnpm dev
License
MIT LicenseCopyright (c) Nuxt Modules