SASS Modern Compiler
From version 0.17.0
, this module will configure Nuxt to use the new SASS modern compiler (modern-compiler
). You don't need to change anything in your configuration to use it:
- update
vite
version tov5.4.0
or higher (if you're using Nuxt3.12.4
or higher, you don't need to updatevite
) - replace your
sass
dependency withsass-embedded
If the sass-embedded
dependency is not installed, the module will configure the modern
compiler for you. In case you get errors, enable the disableModernSassCompiler
option in the module configuration to fall back to the legacy
compiler.
Check Build Performance in Vuetify docs for more details.