$ yarn add sass // next.config.js /** @type {import('next').NextConfig} */ const path = require('path'); module.exports = { sassOptions: { includePaths: [path.join(__dirname, 'styles')], reactStrictMode: true, }, }