chore: use modern sass api

This commit is contained in:
Daniel Chen 2024-10-16 13:09:47 -04:00
parent 247e0dcdc7
commit 5fd2150beb

View File

@ -2,6 +2,7 @@ import { defineNuxtConfig } from "nuxt/config";
import svgLoader from "vite-svg-loader";
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
compatibilityDate: "2024-10-16",
app: {
head: {
htmlAttrs: {
@ -55,6 +56,13 @@ export default defineNuxtConfig({
},
vite: {
plugins: [svgLoader()],
css: {
preprocessorOptions: {
scss: {
api: "modern",
},
},
},
},
content: {
documentDriven: false,