You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
471 B
JavaScript

2 months ago
/*
// uno.config.ts
import { defineConfig, presetUno,presetWind , presetAttributify, presetIcons } from 'unocss'
export default defineConfig({
presets: [
presetWind(), // 使用默认的 UnoCSS 预设
presetAttributify(), // 支持属性模式
presetIcons()
],
/!* rules: [
[/^p-(\d+)$/, (match) => ({padding: `${match[1]}px`})
],
[/^m-(\d+)$/, (match) => ({padding: `${match[1]}px`})
]
]*!/
})
*/