Explorar el Código

feat: [unocss] 增加对less文件的监视

lanjianrong hace 2 años
padre
commit
71b01664e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      config/config.ts

+ 1 - 1
config/config.ts

@@ -27,7 +27,7 @@ export default defineConfig({
   },
   fastRefresh: true,
   unocss: {
-    watch: ['src/{pages,components}/**/*.{jsx,tsx}'] // 添加其他包含 unocss 的 classname 的文件目录
+    watch: ['src/{pages,components}/**/*.{jsx,tsx,less}'] // 添加其他包含 unocss 的 classname 的文件目录
   },
   // Fast Refresh 热更新
   theme: {},