wip: 进度列表和课程详情页面

This commit is contained in:
2024-09-20 13:43:10 +08:00
parent 53287e4cbd
commit edb4231140
7 changed files with 99 additions and 28 deletions

View File

@ -4,13 +4,17 @@ import {
transformerClass,
} from "unocss-preset-weapp/transformer";
import transformerDirectives from "@unocss/transformer-directives";
const { presetWeappAttributify, transformerAttributify } =
extractorAttributify();
export default {
presets: [
// https://github.com/MellowCo/unocss-preset-weapp
presetWeapp(),
presetWeapp({
whRpx: false,
}),
// attributify autocomplete
presetWeappAttributify(),
],
@ -22,6 +26,10 @@ export default {
],
transformers: [
transformerDirectives({
enforce: "pre",
}),
// https://github.com/MellowCo/unocss-preset-weapp/tree/main/src/transformer/transformerAttributify
transformerAttributify(),