https://github.com/auto-plugin/autouno
autouno 直觉的UnoCSS预设方案
https://github.com/auto-plugin/autouno
Last synced: about 1 year ago
JSON representation
autouno 直觉的UnoCSS预设方案
- Host: GitHub
- URL: https://github.com/auto-plugin/autouno
- Owner: Auto-Plugin
- License: mit
- Created: 2024-11-08T08:17:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T03:54:32.000Z (over 1 year ago)
- Last Synced: 2025-03-18T19:27:34.340Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://auto-plugin.github.io/autouno/
- Size: 38.1 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
autouno 直觉的 UnoCSS 预设方案
你可以使用任意可匹配的字符来使用 UnoCSS
### 例如
- marbot10px
- marginbo10
- marbott10
- d:flex
- d:fx
- d:g
- d:gri
- colo#fff
- padd10
- wid100vw
### 使用
```shell
pnpm i autouno
```
```js
import { defineConfig } from 'unocss'
import autoUno from 'autouno'
export default defineConfig({
presets: [
autoUno([
"box-shadow:none",
])],
})
```
更多👇
[点击链接访问 autouno 在线测试](https://larryzhu-dev.github.io/autoLarryPages/autouno/)