This guide walks through how to fully switch to Dart Sass for styling in a Hugo static site. This removes all dependency on deprecated LibSass and uses the recommended Dart Sass SCSS module system (@use
, @forward
).
- Hugo Extended version (
brew install hugo
) - Dart Sass installed (
brew install sass/sass/sass
) - A proper SCSS folder structure under
/assets/scss/