Socket
Book a DemoInstallSign in
Socket

font-loading

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-loading

Nuxt.js module for Font Loading Module Level 3 used for dynamically loading font resources.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

font-loading [wip]

Nuxt.js module for Font Loading Module Level 3 used for dynamically loading font resources.

Note: Font Loading Module Level 3 is still under development in some browsers.

Setup

  • Add font-loading as dependency
  • Add font-loading to modules section of nuxt.config.js
{
  modules: [
    ['font-loading', {
      fontName: '',
      fontPath: ''
    }]
  ]
}

API

fontFamily

Type: String

Default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif

fontName

Type: String

fontPath

Type: String

fontOptions.style

Type: String

Default: normal

fontOptions.weight

Type: String

Default: 400

License

MIT

Keywords

nuxt

FAQs

Package last updated on 14 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts