瀏覽代碼

refactor(unocss): 移除attributify配置并保留注释

feige996 8 月之前
父節點
當前提交
7689261546
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      uno.config.ts

+ 4 - 4
uno.config.ts

@@ -11,10 +11,10 @@ import {
 export default defineConfig({
   presets: [
     presetUni({
-      attributify: {
-        // prefix: 'fg-', // 如果加前缀,则需要在代码里面使用 `fg-` 前缀,如:<div fg-border="1px solid #000"></div>
-        prefixedOnly: true,
-      },
+      // attributify: {
+      //   // prefix: 'fg-', // 如果加前缀,则需要在代码里面使用 `fg-` 前缀,如:<div fg-border="1px solid #000"></div>
+      //   prefixedOnly: true,
+      // },
     }),
     presetIcons({
       scale: 1.2,