Video Thumbnail

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


Premium Features

Download Video

Nuxt Google Fonts

Published 2 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.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

Providing the lift to launch your development career

© 2023 Chris Courses. All rights reserved.