From 3b4ca0e289e96111f0d6b8a727fed8f474308250 Mon Sep 17 00:00:00 2001 From: muwoo <2424880409@qq.com> Date: Thu, 27 Nov 2025 18:15:37 +0800 Subject: [PATCH] Update LESS loader options in vue.config.js --- feature/vue.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feature/vue.config.js b/feature/vue.config.js index 4a3aeb3..562b0b5 100644 --- a/feature/vue.config.js +++ b/feature/vue.config.js @@ -7,7 +7,9 @@ module.exports = { // 向预处理器 Loader 传递配置选项 less: { // 配置less(其他样式解析用法一致) - javascriptEnabled: true, // 设置为true + lessOptions: { + javascriptEnabled: true, // 设置为true + }, }, }, },