Nuxt Modules: The Ultimate Guide for Nuxt.js Developers
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Use nuxt/kit to extend Vite & Webpack configs

In this lesson, we explore how Nuxt Kit simplifies Vite configuration customization. With utilities like extendViteConfig, we gain direct access to Vite's options, streamlining our code and offering a cleaner alternative to previous methods. Additionally, we learn to effortlessly integrate Vite plugins using addVitePlugin, demonstrated with the installation and implementation of a Vite SVG loader plugin within our module.

Links:

Vite SVG loader

Nuxt Kit - Builder