wip: 进度列表和课程详情页面
This commit is contained in:
@ -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(),
|
||||
|
||||
|
Reference in New Issue
Block a user