4 Star 27 Fork 7

不如摸鱼去/wot-starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
unocss.config.ts 801 Bytes
一键复制 编辑 原始数据 按行查看 历史
import presetWeapp from 'unocss-preset-weapp'
import { extractorAttributify, transformerClass } from 'unocss-preset-weapp/transformer'
const { presetWeappAttributify, transformerAttributify } = extractorAttributify()
export default {
presets: [
// https://github.com/MellowCo/unocss-preset-weapp
presetWeapp(),
// attributify autocomplete
presetWeappAttributify()
],
shortcuts: [
{
'border-base': 'border border-gray-500_10',
center: 'flex justify-center items-center'
}
],
transformers: [
// https://github.com/MellowCo/unocss-preset-weapp/tree/main/src/transformer/transformerAttributify
transformerAttributify(),
// https://github.com/MellowCo/unocss-preset-weapp/tree/main/src/transformer/transformerClass
transformerClass()
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/wot-design-uni/wot-starter.git
[email protected]:wot-design-uni/wot-starter.git
wot-design-uni
wot-starter
wot-starter
main

搜索帮助