chore: use modern sass api
This commit is contained in:
parent
247e0dcdc7
commit
5fd2150beb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user