Nuxt.js Fundamentals (Nuxt 2)
🚧 PLEASE NOTE: An updated version of this course is available! see the Nuxt Fundamentals: Build Full-Stack Vue.js Apps course. This course is outdated!

Global CSS

While scoped styles are handy, they cannot solve all our CSS needs. You often need to have a set of global CSS rules to take care of your fundamental styling needs.

Luckily Nuxt.js has a very elegant solution that allows us to inject global CSS in our project directly from the config file. Whether it is a custom CSS file from your assets directory or an NPM package.