0.0.6 • Published 2 years ago

@codefixlabs/google-fonts v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@codefixlabs/google-fonts

Features

Setup

Nuxt 3

  1. Add @codefixlabs/google-fonts dependency to your project
yarn add --dev @codefixlabs/google-fonts 
# or 
npm install --save-dev @codefixlabs/google-fonts
  1. Add @codefixlabs/google-fonts to the buildModules section of nuxt.config.ts
import { defineNuxtConfig } from 'nuxt3'

export default defineNuxtConfig({
  buildModules: [
    // Simple usage
    '@codefixlabs/google-fonts',
    
    // With options
    ['@codefixlabs/google-fonts', { /* module options */ }]
  ]
})

Typescript

For Nuxt config typescript support, add the module within your tsconfig.json.

{
  "compilerOptions": {
    "types": [
      "@codefixlabs/google-fonts"
    ]
  }
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright © CodeFix Team