1 Star 0 Fork 0

skywalker/fast-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
unocss.config.ts 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
skywalker 提交于 2024-11-22 13:51 . fix delete
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: [
{
"flex-center": "flex justify-center items-center flex-wrap",
"flex-col-center": "flex flex-col 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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/skywalker/fast-app.git
git@gitee.com:skywalker/fast-app.git
skywalker
fast-app
fast-app
main

搜索帮助