3 Star 22 Fork 6

不如摸鱼去 / 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()
]
}
TypeScript
1
https://gitee.com/wot-design-uni/wot-starter.git
git@gitee.com:wot-design-uni/wot-starter.git
wot-design-uni
wot-starter
wot-starter
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891