Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

Nuxt Google Fonts

Published 3 years ago

The next step is getting the correct fonts transferred over to our Nuxt project via Google Fonts. Now, although Nuxt doesn't have your standard <head> tag, there is a way to import Google Fonts using nuxt.config.js. However, there's a learning opportunity here - one that'll teach you a much easier way to import your google fonts using an npm package called @nuxtjs/google-fonts (at least easier once you get it installed).

This method will allow you to import any Google font without having to change up your import URL string - you'll use a JS object instead.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.