主题
Pug 提取器
¥Pug Extractor
支持从 Pug 模板中提取类。
¥Support extracting classes from Pug template.
安装
¥Installation
bash
pnpm add -D @unocss/extractor-pug
bash
yarn add -D @unocss/extractor-pug
bash
npm install -D @unocss/extractor-pug
ts
import extractorPug from '@unocss/extractor-pug'
import { defineConfig } from 'unocss'
export default defineConfig({
extractors: [
extractorPug(),
],
})