🔥 Introducing Fado Ignite - Next.js & Supabase Starter Kit to build a SAAS in less than a week.
CN
Piotr Jura·
May 1, 2024

Top 5 Essential Nuxt Modules

What are the Nuxt Modules?

Nuxt Modules is the way to add features and integrate 3rd party libraries or services into your Nuxt apps.

If you need to add TailwindCSS, Database or handle images the right way - you just install a module, easy - plug&play.

Here's a list of 5 must-have moudles for your next Nuxt app!

List of the must have Nuxt Modules

How to analyze and debug your Nuxt application?

The DevTools Module is essential. It gives you all the info about your app, component tree, pages, routes - you name it.

A must have tool! That's why it's installed and enabled by default.

Logo of the Nuxt devtools module

How to manage the shared state and track state changes?

The Pinia Module installs Pinia, a store library. Pinia helps you share state application wide - between components/pages, track state changes and more.

Installation
npm i @pinia/nuxt 
Screenshot of the Pinia website

How to style your application using Tailwind CSS?

The TailwindCSS Module installs TailwindCSS - utility based CSS framework. The most popular CSS utility/framework/library these days. Most new UI frameworks are based on Tailwind, so knowing and using Tailwind will open a lot of doors for you.

Let's see how to integrate TailwindCSS with Nuxt:

Installation
npx nuxi@latest module add tailwindcss

Add the tailwindcss module to your nuxt.config.js or nuxt.config.ts file:

nuxt.config.js
export default defineNuxtConfig({
  modules: [
    '@nuxtjs/tailwindcss'
  ]
})
Logo of the Tailwind Nuxt module

How to build websites for the international audience?

The i18n Module - internationalization library for you Nuxt apps. Required if your app is to support more than one language.

Installation
npx nuxi@latest module add i18n 

Add the i18n module to your nuxt.config.js or nuxt.config.ts file:

nuxt.config.js
export default defineNuxtConfig({
  modules: [
    '@nuxtjs/i18n',
  ],
})
Logo of the i18n Nuxt module

How to serve optimized images on your website?

The NuxtImage Module - automatic image optimization, resize & transform images. Really needed for any website with images (which is almost 99% of websites). A real must-have if your project is media heavy. It's one of the Nuxt modules for better app performance.

Installation
nuxi@latest module add image

Add the image module to your nuxt.config.js or nuxt.config.ts file:

nuxt.config.js
export default defineNuxtConfig({
  modules: [
    '@nuxt/image',
  ]
})
Screenshot of the NuxtModule Nuxt module

Read More on Fado Code Camp