From d221539a63e75542805250187908ce503d5a06ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Sat, 26 Oct 2024 14:34:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3scss=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 9367841..4d249b5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -17,7 +17,7 @@ export default defineConfig({ css: { preprocessorOptions: { scss: { - additionalData: `@import "./src/styles/var.scss";` + additionalData: `@use "./src/styles/var.scss";` } } },