@berqnet/fonts

Nuxt module for Font Installation
187
Install
npm install @berqnet/fonts
Latest Version:2.2.7
Vue:3
License:MIT
Last Updated:Oct 16, 2026
Links: Repository  ·  npm
Maintainer: samet.ozgen

@berqnet/fonts

Nuxt module for Font Installation.

Table of Contents

Installation

To install this module, you can use npm or yarn:

npm

npm install @berqnet/fonts

yarn

yarn add @berqnet/fonts

Usage

To use this module in your Nuxt 3 project, add it to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: ['@berqnet/fonts'],
});

Configuration

You can configure the module with the following options in your nuxt.config.ts: There are 2 type fonts exist currently: Poppins or Satoshi. Default font is Satoshi. You can change it manually using fontsOptions: { family: 'Poppins' } option or add option with module.

export default defineNuxtConfig({
  modules: [['@berqnet/fonts', { family: 'Poppins' }]],
  // Or add your custom configurations using fontsOptions attribute
  fontsOptions: { family: 'Poppins' },
});

Scripts

The following npm scripts are available:

  • test: Run tests using Vitest.
  • test:watch: Run tests in watch mode.
  • test:types: Check TypeScript types.
  • lint:prettier: Lint code using Prettier.
  • lint:eslint: Lint code using ESLint.
  • lint:stylelint: Lint styles using Stylelint.
  • fix: Fix linting errors.
  • pub: Publish the module.
  • release: Release a new version.

Contributing

If you would like to contribute, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes.
  4. Push your branch and create a pull request.

License

This project is licensed under the MIT License.

Source for Poppins https://github.com/webfontworld/Poppins, Source for Satoshi https://www.fontshare.com/fonts/satoshi

Related Packages

nuxt-plotly

nuxt-plotly module is thin Nuxt3 wrapper for plotly.js

35,721 32
nuxt-facebook-chat

Effortless integration of Facebook's Customer Chat SDK into Nuxt 3. Enhance user...

1,874 7
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
@zadigetvoltaire/nuxt-well-known

Nuxt module to add well-known files and rules with middlewares

37,344 22
@lg2/nuxt3-module-create-dato-map

nuxt3-module-create-dato-map

2,869 0

Version History

Version Released Vue License
2.2.7 ^3.x MIT
Pre-releases (1)
Version Released License
0.0.0-stage