Skip to content
Drew Baker edited this page Apr 25, 2021 · 1 revision

Fonts

This theme uses webfontloader for font loading.

  1. If you are using a @font-face font, then you will need to put the font files in /assets/fonts/
  2. Then define the CSS in /styles/fonts.css
  3. Set the names of the font families in /web-font-loader.js
  4. Uncomment the fonts.css CSS line in nuxt.config.js
  5. Uncomment the web-font-loader.client.js plugin line in nuxt.config.js

For Typekit or google fonts, please see the webfontloader documentation.

Clone this wiki locally